Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion public/app/plugins/datasource/elasticsearch/datasource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,9 @@ export class ElasticDatasource
if (index && index.mappings) {
const mappings = index.mappings;

const properties = mappings.properties;
// LOGZ.IO GRAFANA CHANGE :: DEV-46404 - mappings not showing on query building
// the format of the response depends on the esversion. we have v7 , seems to, which requires the _doc.
const properties = mappings.properties || mappings._doc.properties;
getFieldsRecursively(properties);
}
}
Expand Down