diff --git a/public/app/plugins/datasource/elasticsearch/elastic_response.ts b/public/app/plugins/datasource/elasticsearch/elastic_response.ts index e2579b85a16..447fede18ae 100644 --- a/public/app/plugins/datasource/elasticsearch/elastic_response.ts +++ b/public/app/plugins/datasource/elasticsearch/elastic_response.ts @@ -571,13 +571,6 @@ const createEmptyDataFrame = ( }).parse = (v: any) => { return v || ''; }; - } else { - series.addField({ - name: '_source', - type: FieldType.string, - }).parse = (v: any) => { - return JSON.stringify(v, null, 2); - }; } if (logLevelField) { @@ -596,6 +589,10 @@ const createEmptyDataFrame = ( if (fieldNames.includes(propName)) { continue; } + // Do not add _source field as we are showing each _source field in table instead. + if (propName === '_source') { + continue; + } series.addField({ name: propName,