Skip to content

Commit f832c30

Browse files
JV0812jpipkin1
andauthored
Update logs-to-metrics.md (#4840)
* Update logs-to-metrics.md * Update logs-to-metrics.md * Update docs/metrics/logs-to-metrics.md Co-authored-by: John Pipkin (Sumo Logic) <[email protected]> --------- Co-authored-by: John Pipkin (Sumo Logic) <[email protected]>
1 parent ee43f87 commit f832c30

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/metrics/logs-to-metrics.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,13 @@ Not all Sumo parsing operators are supported. For more information, see [Create
8383

8484
You cannot use a scheduled view or an index in the scope of a Logs-to-Metrics rule. In other words, you shouldn't use a log search scope that includes `_view` or `_index`
8585

86-
### Using Logs-to-Metrics in the frequent or infrequent tier
86+
### Using Logs-to-Metrics for partitions not included in default scope
8787

88-
Since `_index` is not accepted in logs-to-metrics rules, you can just skip it and still get results for the data assigned to frequent and infrequent tier.
88+
In the data tier model, frequent and infrequent partitions are excluded from the default search scope. However, if your organization is configured for the flex pricing model, you can selectively choose which partitions to include or exclude from the [default search scope](/docs/manage/partitions/flex/faq/#how-can-i-optimize-my-query-using-default-scope).
8989

90-
If you want to create a Logs-to-Metrics rule for the scope of frequent or infrequent tier partition, you can create the rule with the same log search scope as the partition where the data lives. For example, if you have a partition, `_index=foo`, whose routing expression is `_sourceCategory=foo`, then you should use the same routing expression, `_sourceCategory=foo`, to scope the Logs-to-Metrics rule.
90+
For cases involving partitions that fall outside the default scope, you can create a Logs-to-Metrics rule for the frequent tier partition, infrequent tier partition, or for the partitions excluded in the flex pricing model. To do this, set the rule using the same log search scope as the partition where the data resides.
91+
92+
For example, if you have a partition with the index `_index=foo`, and its routing expression is `_sourceCategory=foo`, you should use the same routing expression, `_sourceCategory=foo`, when scoping the Logs-to-Metrics rule.
9193

9294
### _dataTier search modifier is not supported
9395

0 commit comments

Comments
 (0)