How can i ingest static key value log file to elastic and dynamically choose string or int

server=server.com
ip=192.168.1.2
role=webserver
up=1

I am looking for a logstash configuration to do the following thanks!

  1. ingest the file and delete after
  2. go row by row and decide if value is string or integer
  3. deploy data into elastic

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