Exam SPLK-1002 All QuestionsBrowse all questions from this exam
Question 65

Which of the following searches would create a graph similar to the one below?

    Correct Answer: C

    The search that would generate a graph similar to the one shown uses the timechart command to plot the counts of events by their status over time. The 'timechart count by status' command creates a line chart with the x-axis representing the time and the y-axis representing the count of events, which matches the provided graph. The maxspan=1d argument in the transaction command does not impact the ability of timechart to generate the correct graph, as timechart focuses on the time and status fields for plotting, not on the spanning of transactions. Therefore, option C is the correct choice.

Discussion
New_userOption: D

Answer is D. The argument maxspan=1d will join events to one transaction by status per day. You would see the curve lines on graph if answer C is right, cause graph values are shown with span=12h

rafiki31

The graphs values are well shown with 24h span, it's just the x axis showing the 12h intervals but there is no point in between. C.

TestingAccount900

Correct, but your reasoning is abit off, maxspan will set the maximum point between the earliest and latest transaction, so 1D would be the maximum limit between the first/last, which is obviously not true in the graph.

hellonairOption: C

Tested . C appears to be correct

paro2Option: C

C is the right answer.

RoGrOption: D

I would go for answer D: (fields sourcetype, status are not equal to skipped and succes)

Hudda

could you pls confirm the final answer friends?

ShafiqulOption: C

While I was on playing around with the Splunk training data (sourcetype=access_combined_wcookie), seems C produces the same type linechart graph (assuming the status field has only 2 values in the events skipped and success)..

Alexi2415Option: C

I tested it and C gives similar result. what I tried : index=web sourcetype=access_combined | fields sourcetype, status | transaction status maxspan=1d | timechart count by status

StevenBzhOption: C

C is the correct answer

jsk46

what is the correct answ C or D?

kirtakOption: C

C works, tested with different sourcetype that has the same status field with skipped and success index=_internal sourcetype=scheduler | fields sourcetype, status | transaction status maxspan=1d | timechart count by status

Hurshbabe

Timechart must have _time on the x-axis. this is definitely not tirmechart

Asheel1

@Hurshbabe what is the x-axis in your opinion? the vertical or horizontal line? Because i see time on the x-axis.

codemk

https://docs.splunk.com/Documentation/Splunk/9.0.2/SearchReference/Transaction maxspan Syntax: maxspan=<int>[s | m | h | d] Description: Specifies the maximum length of time in seconds, minutes, hours, or days that the events can span. The events in the transaction must span less than integer specified for maxspan. Events that exceed the maxspan limit are treated as part of a separate transaction. If the value is negative, the maxspan constraint is disabled and there is no limit. Default: -1 (no limit)

SolventCourseisSCAM

answer is D?