Skip to content

Conversation

@Aias00
Copy link
Contributor

@Aias00 Aias00 commented Mar 26, 2025

Supports generating Elasticsearch indices daily and creating an alias for them.

Writing all log data to a single Elasticsearch index can result in a very large index. Splitting the index by day and creating an alias allows for reducing the data volume in each individual index and enabling queries through the alias.

for example. today is 2025-03-31. the index name were set to be shenyu-access-logging. the real index to write to will be shenyu-access-logging-2025-03-31. and will create alias for shenyu-access-logging-2025-03-31, so user can search shenyu-access-logging

Make sure that:

  • You have read the contribution guidelines.
  • You submit test cases (unit or integration tests) that back your changes.
  • Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

@moremind moremind added this to the 2.7.0.1 milestone Apr 14, 2025
@Aias00 Aias00 merged commit c34c3ec into apache:master Apr 14, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants