exam questions

Exam SPLK-1002 All Questions

View all questions & answers for the SPLK-1002 exam

Exam SPLK-1002 topic 1 question 155 discussion

Actual exam question from Splunk's SPLK-1002
Question #: 155
Topic #: 1
[All SPLK-1002 Questions]

Which of these stats commands will show the total bytes for each unique combination of page and server?

  • A. index=web | stats sum(bytes) BY values(page) values(server)
  • B. index=web | stats sum(bytes) BY page AND server
  • C. index=web | stats sum(bytes) BY page BY server
  • D. index=web | stats sum(bytes) BY page server
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ismailwale
3 weeks, 4 days ago
Selected Answer: D
D IS CORRECT Explanation: A. index=web | stats sum(bytes) BY values(page) values(server): This is incorrect because using values in this context is not necessary for summing by page and server. B. index=web | stats sum(bytes) BY page AND server: This is incorrect syntax. You cannot use AND in the BY clause for the stats command. C. index=web | stats sum(bytes) BY page BY server: This is incorrect syntax. You should only use one BY to specify multiple fields together. D. index=web | stats sum(bytes) BY page server: This is correct. This command effectively sums the bytes for each unique combination of page and server. Therefore, the correct answer is D. index=web | stats sum(bytes) BY page server. Copy Regenerate
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago