service and message fields in your log data. The
Logs Usage page displays the volume of data each pattern consumes, and where and
how often each pattern gets queried. The more a pattern is queried, included in
assets like dashboards, and referenced by unique users, the higher its utility score.
Utility scores are relative, and aren’t mapped to any scale. For example, a utility
score of 18 is more than twice that of a utility score of 8, but isn’t scored against
a maximum. Lower utility scores indicate patterns that are candidates for reducing,
augmenting, or routing log data to lower costs.
View log patterns
View log patterns in the Logs Usage page to analyze which patterns have greater utility, and those patterns you can potentially eliminate. To view log patterns:- In the navigation menu, click Go to Admin and then select Analyzers > Logs Usage. The Logs Usage page displays all patterns found in your log data.
- Click any pattern to view more detailed information, such as the number of queries that reference the pattern across Logs Explorer and in dashboards. On the Pattern Details page, expand the Executions column to see which users have executed a query containing this pattern.
- To view the underlying query for the pattern in Logs Explorer, hold the pointer over any pattern, and then click View in Logs Explorer.
Create control rules
When viewing a log pattern in Observability Platform, you can create a log control rule for the selected pattern. This capability lets you manage log data by transforming, reshaping, retaining, or excluding data before it’s stored. To create control rules:- In the navigation menu, click Go to Admin and then select Analyzers > Logs Usage. The Logs Usage page displays all patterns found in your log data.
- Click a pattern from the list, or use the query syntax to filter on attributes in your data, such as a particular environment or cluster name. Observability Platform returns patterns that include at least one log matched by the filter.
-
Press
Ctrl+Enter(Command+Returnon macOS) to submit the filter. - Click the pattern to open the Pattern Details page.
-
In the Pattern Details page, click Create control rule for this pattern.
The Create control rule page opens with the filter for the log pattern.
This rule applies to logs that match only this filter at the time the log data was ingested.
- Review the returned data from the preview filter, and make changes as necessary.
- Enter additional information for the specified action. See Create control rules for information about each of the required fields.
- Click Done to save the control rule definition.
- In the Code Config tab, use the Code Config tool to apply the definition.

