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
...
Log in to ExamTopics
Sign in:
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.
ismailwale
3 weeks, 4 days ago