|
|
|
@ -571,13 +571,6 @@ const createEmptyDataFrame = ( |
|
|
|
}).parse = (v: any) => { |
|
|
|
}).parse = (v: any) => { |
|
|
|
return v || ''; |
|
|
|
return v || ''; |
|
|
|
}; |
|
|
|
}; |
|
|
|
} else { |
|
|
|
|
|
|
|
series.addField({ |
|
|
|
|
|
|
|
name: '_source', |
|
|
|
|
|
|
|
type: FieldType.string, |
|
|
|
|
|
|
|
}).parse = (v: any) => { |
|
|
|
|
|
|
|
return JSON.stringify(v, null, 2); |
|
|
|
|
|
|
|
}; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (logLevelField) { |
|
|
|
if (logLevelField) { |
|
|
|
@ -596,6 +589,10 @@ const createEmptyDataFrame = ( |
|
|
|
if (fieldNames.includes(propName)) { |
|
|
|
if (fieldNames.includes(propName)) { |
|
|
|
continue; |
|
|
|
continue; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Do not add _source field as we are showing each _source field in table instead.
|
|
|
|
|
|
|
|
if (propName === '_source') { |
|
|
|
|
|
|
|
continue; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
series.addField({ |
|
|
|
series.addField({ |
|
|
|
name: propName, |
|
|
|
name: propName, |
|
|
|
|