We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 063faff commit 9c42d1aCopy full SHA for 9c42d1a
public/app/plugins/datasource/elasticsearch/datasource.ts
@@ -774,7 +774,9 @@ export class ElasticDatasource
774
if (index && index.mappings) {
775
const mappings = index.mappings;
776
777
- const properties = mappings.properties;
+ // LOGZ.IO GRAFANA CHANGE :: DEV-46404 - mappings not showing on query building
778
+ // the format of the response depends on the esversion. we have v7 , seems to, which requires the _doc.
779
+ const properties = mappings.properties || mappings._doc.properties;
780
getFieldsRecursively(properties);
781
}
782
0 commit comments