Commit b8fdacd8 by Dan Cech Committed by GitHub

Update public/app/plugins/datasource/loki/result_transformer.ts

Co-Authored-By: davkal <david.kaltschmidt@gmail.com>
parent e694604b
......@@ -116,7 +116,8 @@ export function processEntry(
uniqueLabels: LogsStreamLabels,
search: string
): LogRow {
const { line, ts } = entry;
const { line } = entry;
const ts = entry.ts || entry.timestamp;
// Assumes unique-ness, needs nanosec precision for timestamp
const key = `EK${ts}${labels}`;
const time = moment(ts);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment