3 ms·
Yes, you can do this using Filebeat or in Elasticsearch itself using an Ingest node script processor. Filebeat: https://www.elastic.co/guide/en/beats/filebeat/
by axw 6y ago
Yes, you can do this using Filebeat or in Elasticsearch itself using an Ingest node script processor.
Filebeat: https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#indices-option-es https://www.elastic.co/guide/en/beats/filebeat/current/elast...
(You can incorporate variables in the destination index; variables may refer to labels and other fields.)
Ingest node: https://www.elastic.co/guide/en/elasticsearch/reference/current/script-processor.html https://www.elastic.co/guide/en/elasticsearch/reference/curr...
(search for "_index")