Splunk Core Certified Power User — Question 190
When using timechart, how many fields can be listed after a by clause?
Answer options
- A. 0, because timechart doesn't support using a by clause.
- B. 1, because _time is already implied as the x-axis.
- C. 2, because one field would represent the x-axis and the other would represent the y-axis.
- D. There is no limit specific to timechart.
Correct answer: B
Explanation
The correct answer is B because the timechart command inherently includes _time as the x-axis, allowing only one additional field to be specified after the by clause. Options A and D are incorrect as timechart does support a by clause, and there is indeed a limit on the number of fields. Option C is also incorrect since only one field can be added alongside the implicit _time.