nerdexam
Splunk

SPLK-1002 · Question #67

Which of the following is NOT a stats function:

The correct answer is B. addtotals. The stats command is used to calculate summary statistics for your search results such as count, sum, avg, min, max and more. The stats command supports various functions that you can use to perform calculations on your fields. However, addtotals is not a stats function but a sep

Basic Transforming Commands

Question

Which of the following is NOT a stats function:

Options

  • Asum
  • Baddtotals
  • Ccount
  • Davg

How the community answered

(58 responses)
  • A
    3% (2)
  • B
    90% (52)
  • C
    2% (1)
  • D
    5% (3)

Explanation

The stats command is used to calculate summary statistics for your search results such as count, sum, avg, min, max and more. The stats command supports various functions that you can use to perform calculations on your fields. However, addtotals is not a stats function but a separate command that adds a row or column with the total of the values in each group. Therefore, option B is correct, while options A, C and D are incorrect because they are valid stats functions.

Topics

#Splunk commands#stats command#aggregate functions#addtotals command

Community Discussion

No community discussion yet for this question.

Full SPLK-1002 Practice