Splunk Core Certified User — Question 131
Which events will be returned by the following search string? host=www3 status=503
Answer options
- A. All events that either have a host of www3 or a status of 503.
- B. All events with a host of www3 that also have a status of 503.
- C. We need more information; we cannot tell without knowing the time range.
- D. We need more information; a search cannot be run without specifying an index.
Correct answer: B
Explanation
The correct answer is B because the search string specifies both conditions, which means it will return events that meet both criteria: the host must be www3 and the status must be 503. Option A is incorrect as it suggests an 'or' condition, which would include events that don't match both criteria. Options C and D incorrectly imply that additional information is necessary, while the search can be correctly executed with the given parameters.