Importing data files into already created index

I have been having issues getting filebeat to work and opted to import the data using files into elasticsearch. However it looks like it is not possible to import into an existing created index. Is this true or is there a workaround for this? Would like to have all the data in one index or else will have to use the same file.

I would say that's possible, here are the parameters you would need to configure:

https://www.elastic.co/guide/en/beats/filebeat/current/elasticsearch-output.html#index-option-es

I guess you will also need to apply the index mapping to your index, not sure if beats will create it if not present.

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