-
Notifications
You must be signed in to change notification settings - Fork 86
Description
Feature request
We would like the ability to configure the line_format of the query that returns log results. Currently, the result string includes only the message, or when configured the container key (LOGGING_PLUGIN_CONTAINER_KEY). We also need the timestamp to be included, which is available in the raw log under timestamp.
This could be implemented more broadly so that, in addition to the timestamp, other labels could also be used in the formatted output for additional use cases.
If the configuration Option is not set, the current default is used.
Use case
We provide a custom application for builds using Tekton. We are currently implementing the Loki stack to store results in Loki instead of Postgres. However, when retrieving results from Loki, the timestamp is missing, which prevents us from ordering the results correctly for display to users.