[Fleet] query_string
queries fail because index.query.default_field
set to message
for metric indices
#89357
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Fleet
Fleet team's agent central management project
Team:Fleet
Team label for Observability Data Collection Fleet team
Kibana version:
master
Elasticsearch version:
master
Server OS version:
Mac OS X
Describe the bug:
The index setting
index.query.default_field
is set tomessage
for all the metric indices. This causes issues with query string queries becausemessage
is not an available field for metric indices. This means the data is unusable inside Grafana, discovered originally by @jamiesmith.Steps to reproduce:
Expected behavior:
The query above should return data.
Screenshots (if relevant):
Any additional context:
Here is the code that needs to change: https://github.com/elastic/kibana/blob/master/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/template.ts#L311
The text was updated successfully, but these errors were encountered: