Logstash is not sending logs in ElasticSearch

(gidwani honey) #1

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 => [""]
user => "elastic"
password => "changeme"
index => "logstash-%{+YYYY.MM.dd}"
stdout { codec => "rubydebug" }
Can u please help me with this?

(Magnus Bäck) #2

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?

(gidwani honey) #3

Yaa, But I am not getting any errors or clues in Logstash logs.

(Magnus Bäck) #4

Was "Yaa" an answer to my first question? If not please answer my first question.

(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.