I am trying to send multiple json messages to logstash using http plugin, but i could see only the first message on kibana.
please help.
below is the my plugin.
input {
http {
port => XXXX
}
input {
http {
port => XXXX
}
If you send it an array it will output multiple events.
[{ "index_id" : "test_index", "FIELD1" : "TEST1", "FIELD2" : "TEST2" },
{ "index_id" : "test_index", "FIELD1" : "XXXXX", "FIELD2" : "YYYYYY" }]
Without it being an array it appears to ignore everything except the first JSON object.
© 2020. All Rights Reserved - Elasticsearch
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.