When providing Filebeat with text file containing rows with JSON , Filebeat export to Elasticsearch server meta info such as log.offset
, log.file.path
ect.
Even commenting these lines in filebeat.yaml did not help:
#- add_host_metadata: ~
#- add_cloud_metadata: ~
how can we export the JSON to create the entire document ( including custom _id)?