Logstash is not sending logs in ElasticSearch

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?

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

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