Adding new index based on field

I'm trying to parse my JSON data in the logstash config and send the JSON to elasticSearch depending on the week. My data fields has the specific date.

Example: I have a date:"MM-DD-YYYY" as a field in the JSON, but I want to send to an index based on the week, so index should be something like "Week of 06/20".

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