Closed adnanrahic closed 4 years ago
This issue ended up being a misconfiguration.
The log routing works if you add all the tokens under the indices
field.
output:
elasticsearch:
module: elasticsearch
url: https://logsene-receiver.eu.sematext.com
indices:
<primary_token>:
- auth.log
- access.log
<secondary_token>:
- updateWS\.log
- updateWSBinance\.log
- pusher_events.*\.log
- laravel\.log
- laravel-.*\.log
- horizon\.log
- event_listener_job.*\.log
- price_updated-.*\.log
The problem is that even though the indices property is there and the token is defined and the names of the files are there, all the data is still sent to the main index. I don't see anything wrong here, could you look at this please?