Reputation: 27
So I'm reading in several different file types using Filebeat. I set the document_type
for each kind of file I am harvesting. My problem is that I want to send most of these file types to Logstash, but there are certain types I wish to send directly to Elasticsearch.
Is it possible to select the output depending on file type? I know multiple outputs are allowed, but this sends all the data into both elasticsearch and logstash so it's going to get inserted into Elasticsearch twice, which will take up too much space. Thanks!
Upvotes: 0
Views: 768
Reputation: 31
Filebeat ships events to one endpoint, all routing should be done in Logstash.
Upvotes: 1