With logstash i would use some filters to construct the index name based on certain other params. Then I would use that newly constructed field in the output config for the index param.
I see in the documentation for this sink type that it can support date/time macro formatting but I would like to take it a step further and use field values to make the index name dynamic. Is this supported?
Thanks for this information, i have tried to use this pattern unsuccessfully.
Im using SQS to get events from S3 and ingest to domain.
I tried to use dynamic index by add suffix such this in the example - also tried ${data}, ${time}, and more option (some of them from the SQS event JSON) and nothing works.
The Error is - “The key ___ could not be found in the Event when formatting”.
any idea what is the problem and can i get the Event fields in order to use them?