You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -318,6 +318,8 @@ Following is the supported API format for writing to loki:
318
318
clientConfig: clientConfig
319
319
timestampLabel: label to use for time indexing
320
320
timestampScale: timestamp units scale (e.g. for UNIX = 1s)
321
+
format: the format of each line: printf (writes using golang's default map printing), fields (writes one key and value field per line) or json (default)
322
+
reorder: reorder json map keys
321
323
</pre>
322
324
## Write Standard Output
323
325
Following is the supported API format for writing to standard output:
0 commit comments