Hey,
here logstash is creating logs but not displaying anything on Elasticsearch.
This is my log_config file.
input {
tcp {
port => 5022
type => "syslog"
}
udp {
port => 5022
type => "syslog"
}
}
output {
elasticsearch {
hosts => ["192.168.1.103:9200"]
user => "elastic"
password => "changeme"
index => "logstash-%{+YYYY.MM.dd}"
}
stdout { codec => "rubydebug" }
}
Can u please help me with this?
If you comment out the elasticsearch output, are you getting the events on stdout thanks to the stdout { codec => "rubydebug" } output? Have you looked in the Logstash log for clues?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.