Question 10
When writing a detector with a large number of MTS, such as memory. free in a deployment with 30,000 hosts, it is possible to exceed the cap of MTS that can be contained in a single plot. Which of the choices below would most likely reduce the number of MTS below the plot cap?
Select the Sharded option when creating the plot.
Add a filter to narrow the scope of the measurement.
Add a restricted scope adjustment to the plot.
When creating the plot, add a discriminator.
Correct answer: B
Explanation:
The correct answer is B. Add a filter to narrow the scope of the measurement.A filter is a way to reduce the number of metric time series (MTS) that are displayed on a chart or used in a detector. A filter specifies one or more dimensions and values that the MTS must have in order to be included. For example, if you want to monitor the memory.free metric only for hosts that belong to a certain cluster, you can add a filter like cluster:my-cluster to the plot or detector. This will exclude any MTS that do not have the cluster dimension or have a different value for it1Adding a filter can help you avoid exceeding the plot cap, which is the maximum number of MTS that can be contained in a single plot. The plot cap is 100,000 by default, but it can be changed by contacting Splunk Support2 To learn more about how to use filters in Splunk Observability Cloud, you can refer to this documentation3.1: https://docs.splunk.com/Observability/gdi/metrics/search.html#Filter-metrics2: https://docs.splunk.com/Observability/gdi/metrics/detectors.html#Plot-cap3: https://docs.splunk.com/Observability/gdi/metrics/search.html
The correct answer is B. Add a filter to narrow the scope of the measurement.
A filter is a way to reduce the number of metric time series (MTS) that are displayed on a chart or used in a detector. A filter specifies one or more dimensions and values that the MTS must have in order to be included. For example, if you want to monitor the memory.free metric only for hosts that belong to a certain cluster, you can add a filter like cluster:my-cluster to the plot or detector. This will exclude any MTS that do not have the cluster dimension or have a different value for it1
Adding a filter can help you avoid exceeding the plot cap, which is the maximum number of MTS that can be contained in a single plot. The plot cap is 100,000 by default, but it can be changed by contacting Splunk Support2 To learn more about how to use filters in Splunk Observability Cloud, you can refer to this documentation3.
1: https://docs.splunk.com/Observability/gdi/metrics/search.html#Filter-metrics2: https://docs.splunk.com/Observability/gdi/metrics/detectors.html#Plot-cap3: https://docs.splunk.com/Observability/gdi/metrics/search.html