Splunk
SPLK-4001 · Question #40
To refine a search for a metric a customer types host: test-*. What does this filter return?
The correct answer is A. Only metrics with a dimension of host and a value beginning with test-. This filter returns the metrics that have a host dimension that matches the pattern test-. For example, test-01, test-abc, test-xyz, etc. The asterisk () is a wildcard character that can match any string of characters.
Metrics Data Collection
Question
To refine a search for a metric a customer types host: test-*. What does this filter return?
Options
- AOnly metrics with a dimension of host and a value beginning with test-.
- BError
- CEvery metric except those with a dimension of host and a value equal to test.
- DOnly metrics with a value of test- beginning with host.
How the community answered
(55 responses)- A87% (48)
- B4% (2)
- C7% (4)
- D2% (1)
Explanation
This filter returns the metrics that have a host dimension that matches the pattern test-. For example, test-01, test-abc, test-xyz, etc. The asterisk () is a wildcard character that can match any string of characters.
Topics
#metric search#dimension filtering#wildcard filter#host dimension
Community Discussion
No community discussion yet for this question.