Mapping from Logstash to Elasticsearch

I have several different mapping types in a particular mapping (H, D, D1, D2, D3....D8). I am trying to write a logstash configuration to push data to these mappings based on a particular check.

  1. I extract the first field of each line of my file (tab delimited text file) and rename it to "Heading"
  2. Check if the "Heading" is H, D, D1...D8
  3. Based on that, I perform certain filters on the data
  4. Depending on the what the "Heading" is, I send the output to the different mapping types in elasticsearch

Can someone guide me through this?

Also, all the mapping types have different "properties".

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