I'm working on a project using ELK and I would like to know if it's possible for Logstash to store information of a same document but in different Elasticsearch types ?
Because my explanation is not very clear, I give you the following example that I have in mind :
Imagine a log : {timestamp: X, toto:1, titi:2}
I would like to know if it's possible for Logstash when it's receiving this log to do :
Store timestamp and 1 in Elasticsearch type "toto"
Store timestamp and 2 in Elasticsearch type "titi"
in the same time ...
This is what I want to do but imagine now that I have multiple types according to some fields that I can identify, is there a kind of loop that I can do depending on the number of types I identify in the message ?
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.