SPLK-1002 Exam QuestionsBrowse all questions from this exam

SPLK-1002 Exam - Question 65


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

Show Answer
Correct Answer: CD

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

11 comments
Sign in to comment
New_userOption: D
Jul 10, 2021

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
Apr 13, 2022

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
Sep 8, 2022

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.

paro2Option: C
May 19, 2021

C is the right answer.

hellonairOption: C
Jun 19, 2021

Tested . C appears to be correct

RoGrOption: D
Apr 10, 2021

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

ShafiqulOption: C
May 17, 2021

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)..

Hudda
Jul 12, 2021

could you pls confirm the final answer friends?

codemk
Dec 6, 2022

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
Jan 6, 2023

answer is D?

kirtakOption: C
Apr 10, 2023

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
Aug 31, 2023

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

Asheel1
Feb 8, 2024

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

jsk46
Sep 11, 2023

what is the correct answ C or D?

StevenBzhOption: C
Oct 23, 2023

C is the correct answer

Alexi2415Option: C
Feb 7, 2024

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