dengliming opened a new pull request, #7261:
URL: https://github.com/apache/shenyu/pull/7261

   ## Summary
   - Explicitly map `timeLocal` as a date using the format emitted by ShenYu, 
rather than relying on Elasticsearch dynamic date detection.
   - Declare response size and status as integer fields, and upstream duration 
as long, on every new daily index.
   
   Fixes #6561
   
   ## Validation
   - `./mvnw -pl 
shenyu-plugin/shenyu-plugin-logging/shenyu-plugin-logging-elasticsearch -am 
-Dtest=ElasticSearchLogMappingTest -DfailIfNoTests=false test`
   - Checkstyle enabled; a mocked Elasticsearch client verifies the actual 
create-index request mappings. No live Elasticsearch integration test was run.
   
   Existing indices are not migrated: Elasticsearch cannot change an already 
mapped text field to date in place. Existing data requires a separate 
reindex/migration.
   


-- 
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]

Reply via email to