Elasticsearch cluster, Kibana and Logstash for Diagnostics

Last updated: 25/08/2016

Cost estimate

$57.4257000000

Estimated monthly cost

Understand how this was calculated and customise it to your needs

Pricing calculator

This template deploys an Elasticsearch cluster and Kibana and Logstash VMs. Logstash is configured with an input plugin to pull diagnostics data from existing Azure Storage Tables.

This Azure Resource Manager (ARM) template was created by a member of the community and not by Microsoft. Each ARM template is licensed to you under a licence agreement by its owner, not Microsoft. Microsoft is not responsible for ARM templates provided and licensed by community members and does not screen for security, compatibility or performance. Community ARM templates are not supported under any Microsoft support programme or service, and are made available AS IS without warranty of any kind.

Parameters

Parameter Name Description
esClusterName The name of the Elasticsearch cluster.
esVersion Elasticsearch version to install.
vmClientNodeCount Number of Elasticsearch client nodes to provision (Setting this to zero puts the data nodes on the load balancer)
vmDataNodeCount Number of Elasticsearch data nodes
vmSizeMasterNodes Size of the Elasticsearch cluster master nodes
vmSizeClientNodes Size of the Elasticsearch cluster client nodes
vmSizeDataNodes Size of the Elasticsearch cluster data nodes
encodedConfigString Base64 encoded string which is the Logstash configuration. If you don't want to enter a custom Logstash configuration and would like to use the logstash-input-azurewadtable plugin set this to 'na'.
adminUsername User name for the Virtual Machine.
adminPassword Password for the Virtual Machine.
ubuntuOSVersion The Ubuntu version for the VM. This will pick a fully patched image of this given Ubuntu version.
existingDiagnosticsStorageAccountName Existing diagnostics storage account name.
existingDiagnosticsStorageAccountKey Existing diagnostics storage account key.
existingDiagnosticsStorageTableNames List of existing tables containing diagnostics data separated by semicolon (;).
_artifactsLocation Change this value to your repo name if deploying from a fork
_artifactsLocationSasToken Auto-generated token to access _artifactsLocation

Use the template

PowerShell

New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/diagnostics-with-elk/azuredeploy.json
Installing and configuring Azure PowerShell

Command line

azure config mode arm
azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/diagnostics-with-elk/azuredeploy.json
Installing and configuring the Azure cross-platform command-line interface

More templates by Skantha Kandiah