nerdexam
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)
  • A
    87% (48)
  • B
    4% (2)
  • C
    7% (4)
  • D
    2% (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.

Full SPLK-4001 Practice