The type option is also not working. I am not able to see the output in elastic search
Note:
Although i solved the problem of using multiple inputs and outputs in single logstash conf file by taking advantage of "tags" i want to know why "type" option is not working in logstash_2.3.2
This should work. What if you remove some complexity and replace the elasticsearch output with a simple stdout { codec => rubydebug } output? And maybe replace the jdbc input with a stdin input? Divide and conquer!
Thank you for your reply. If i remove the "type" check in the output everything works fine. So i do not think having JDBC or Elastic Search is a problem here. Let me know if I am right.
The same sh*t for me! Spend several hours, dumped the port traffic to find out the reason. The config is:
input {
beats {
port => 5047
codec => "json"
type => "my-debug"
}
}
output {
if [type] == "my-debug" {
stdout { codec => rubydebug }
}
}
If I remove "if" all works fine. Logstash is 2.2.2
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.