-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Description
Why is this needed:
Current support for Prettify JSON in Azure Monitor logs only works when the column with the dynamic/JSON type is the first non-timestamp column in the table. Therefore, users always need to use project operator to reorder the table, so the JSON column is first for Prettify JSON capability to work as expected. This presents two problems:
- The log message column cannot be displayed as first and top column if the user wants to apply the Prettify JSON formatting to another column.
- If table contains more the one JSON column, only the one that is projected first can be displayed in Prettify JSON format.
What would you like to be added:
Extend the existing JSON parsing functionality to all columns in Azure Monitor Logs Tables.
Example with LogMessage as the first column so KubernetesMetadata column with JSON is not displayed in Prettify JSON format:
Example with KubernetesMetadata column with JSON as the first column so Prettify JSON works as expected but viewing any other columns including LogMessage requires user click to expand:
Who is this feature for?
Primary use-case is Azure Kubernetes monitoring where there is a KubernetesMetadata column in the ContainerLogv2 table that stores labels in JSON format. However, this feature would benefit all Azure Monitor users that have log tables with any columns with JSON formal.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status