Skip to content

Instantly share code, notes, and snippets.

@wshirey
Last active December 17, 2015 21:16
Show Gist options
  • Save wshirey/4e6822bcda8db16b9547 to your computer and use it in GitHub Desktop.
Save wshirey/4e6822bcda8db16b9547 to your computer and use it in GitHub Desktop.
installation instruction for ELK (Elasticsearch, Logstash and Kibana) on Windows

#Setup

  • Download and install the JAVA JDK (JRE is not recommended for server installs)
  • Download ElasticSearch, Logstash, and Kibana from http://elastic.co
  • Extract all to c:\elastic
  • Set the following environment variables
LOGSTASH_HOME=c:\elastic\logstash\
PATH=%PATH%;c:\elastic\logstash
JAVA_HOME=<JAVA install path>
  • Install Watcher for alerts
bin/plugin install elasticsearch/license/latest
bin/plugin install elasticsearch/watcher/latest
  • Install the Timelion plugin c:\elastic\kibana.bat plugin -i kibana/timelion
  • Install the Marvel plugin
c:\elastic\elasticsearch\bin\plugin.bat install license
c:\elastic\elasticsearch\bin\plugin.bat install marvel-agent
c:\elastic\kibana\bin\kibana.bat plugin -i elasticsearch/marvel/latest
  • Install the Sense plugin
c:\elastic\kibana\bin\kibana.bat plugin -i elastic/sense
  • Install Elasticsearch as Windows service
c:\elastic\elasticsearch\bin\service.bat install
c:\elastic\elasticsearch\bin\service.bat start
  • Start elastic search
  • Start kibana
  1. Navigate to http://localhost:5341 for Kibana
  2. Log data to Elasticsearch with serilog.sinks.elasticsearch nuget package or Nest nuget package
  3. Set up visualizations in Kibana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment