Serilog with ELK Stack
- Install Java JDK http://www.oracle.com/technetwork/java/javase/downloads/index.html -> jdk-10_windows-x64_bin.exe
- Install Elastic Search https://www.elastic.co/guide/en/elasticsearch/reference/current/_installation.html -> https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.2.3.msi
- Check, if service is running: http://localhost:9200/
- Install Kibana https://www.elastic.co/guide/en/kibana/current/windows.html -> https://artifacts.elastic.co/downloads/kibana/kibana-6.2.3-windows-x86_64.zip
- Unzip and run Kibana .\bin\kibana.bat -> http://localhost:5601
- Install Kibana as a Service:
sc create "ElasticSearch Kibana 6.2.3" binPath= "C:\kibana-6.2.3-windows-x86_64\bin\kibana.bat" depend= "Elasticsearch" - To delete a Service:
sc delete "ElasticSearch Kibana 6.2.3"
In config C:\ProgramData\Elastic\Elasticsearch\config\elasticsearch.yml add following lines:
cluster.routing.allocation.disk.threshold_enabled: true
cluster.routing.allocation.disk.watermark.flood_stage: 200mb
cluster.routing.allocation.disk.watermark.low: 500mb
cluster.routing.allocation.disk.watermark.high: 300mb