nic-6443 opened a new pull request, #13334:
URL: https://github.com/apache/apisix/pull/13334
The `field.index` configuration now supports dynamic patterns:
- Date/time patterns in curly brackets, e.g. `services-{%Y.%m.%d}`
- APISIX variables prefixed with \$, e.g. `services-$host`
- Both combined, e.g. `services-$host-{%Y.%m.%d}`
The index is resolved per-request without mutating the plugin configuration
object, so it stays dynamic across requests (e.g. rotates correctly when the
date changes).
This was previously documented in the attribute table but not actually
implemented in the open-source codebase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]