nerdexam
Splunk

SPLK-5001 · Question #34

Which search command allows an analyst to match whatever is inside the parentheses as a single term in the index, even if it contains characters that are usually recognized as minor breakers such as…

The correct answer is D. TERM (). TERM() is correct because it instructs the search engine to look up the entire string inside the parentheses as a literal, single entry in the index - bypassing the tokenization that normally splits on minor breakers like periods (.) and underscores (_). This makes it highly…

Introduction to Cybersecurity and Splunk

Question

Which search command allows an analyst to match whatever is inside the parentheses as a single term in the index, even if it contains characters that are usually recognized as minor breakers such as periods or underscores?

Options

  • ACASE()
  • BLIKE()
  • CFORMAT ()
  • DTERM ()

How the community answered

(66 responses)
  • A
    5% (3)
  • B
    2% (1)
  • C
    2% (1)
  • D
    92% (61)

Explanation

TERM() is correct because it instructs the search engine to look up the entire string inside the parentheses as a literal, single entry in the index - bypassing the tokenization that normally splits on minor breakers like periods (.) and underscores (_). This makes it highly efficient and precise for values like IP addresses (192.168.1.100) or file paths that would otherwise be fragmented during indexing.

CASE() is wrong - it enables case-sensitive matching but does not affect how the search engine treats minor breaker characters. LIKE() is wrong - it performs wildcard pattern matching (similar to SQL), not raw index-term lookups. FORMAT() is wrong - it is used to combine and format multivalue fields into strings, unrelated to index searching.

Memory tip: Think "TERM = treat it as one term, period." The word "term" itself implies a single, indivisible unit - exactly what the function enforces in the index.

Topics

#SPL#TERM command#search syntax#minor breakers

Community Discussion

No community discussion yet for this question.

Full SPLK-5001 Practice