Add GC log level for Elasticsearch #34054
Labels
enhancement
Module:elasticsearch
Elasticsearch Beats modules
needs_team
Indicates that the issue/PR needs a Team:* label
v8.7.0
Elasticsearch 8.7.0 will change the JVM log output format to include a
level
parameter (see elastic/elasticsearch#92382); the available log levels are described in the java man page. As there is an existing ingest pipeline to ingest GC logs, it needs to be adapted as well (only theJVM9HEADER
will need to change).Here are some example log lines:
Before this change:
After this change:
Notice how the log level might have trailing spaces (third line in the example).
I'm not familiar enough with
grok
but I believe the grok pattern would need to change to something like:where
elasticsearch.gc.level
needs to be optional to support also pre 8.7.0 clusters. It should also end up inlog.level
when present.The text was updated successfully, but these errors were encountered: