/learning-logstash-and-elastic-search-plugins

learning logstash and elastic search plugins

Primary LanguagePythonApache License 2.0Apache-2.0

learning-logstash-and-elastic-search-plugins

learning logstash and elastic search plugins

Lab 1:

  • create a file sample.conf inside XXXXX\LogStash\logstash-8.2.3\config
input {
  stdin  {
 
  }
}
 
output {
  elasticsearch {
    hosts => ["http://localhost:9200"]
    index => "hellodb"
  }
}

Lab 2:


logstash -f  .\config\lab2.conf --config.reload.automatic

.\filebeat.exe -e -c lab2.yml -d "log publish"