All Apps and Add-ons

Understanding "by" grouping and anomaly detection

winknotes
Explorer

I wanted to make sure I understand an mstats query that has a "by" clause at the end with regard to machine learning toolkit.

| mstats avg(metric) where index="myindex" by dimension_name

When I choose the dimension name and the metric for detecting categorical outliers are the results based on outliers per dimension or compared to all metrics regardless of the dimension? I think and hope it's the former but wanted to clarify.

Thank you in advance.

Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!