ExamGecko
Question list
Search
Search

Question 110 - SPLK-1002 discussion

Report
Export

Which of these search strings is NOT valid:

A.
index=web status=50* | chart count over host, status
Answers
A.
index=web status=50* | chart count over host, status
B.
index=web status=50* | chart count over host by status
Answers
B.
index=web status=50* | chart count over host by status
C.
index=web status=50* | chart count by host, status
Answers
C.
index=web status=50* | chart count by host, status
Suggested answer: A

Explanation:

This search string is not valid:index=web status=50* | chart count over host,status2. This search string uses an invalid syntax for the chart command. The chart command requires one field after the over clause and optionally one field after the by clause. However, this search string has two fields after the over clause separated by a comma. This will cause a syntax error and prevent the search from running. Therefore, option A is correct, while options B and C are incorrect because they are valid search strings that use the chart command correctly.

asked 23/09/2024
Rudy Raijmakers
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first