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
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.
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
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
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)
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)..
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.
New_user
Highly Voted 3 years, 9 months agorafiki31
3 years agoTestingAccount900
2 years, 7 months agoparo2
Highly Voted 3 years, 11 months agoS_E_A_N
Most Recent 4 months, 3 weeks agotatdatpham
8 months, 1 week agovoiddraco
7 months, 3 weeks agoAlexi2415
1 year, 2 months agoStevenBzh
1 year, 6 months agojsk46
1 year, 7 months agokirtak
2 years agoHurshbabe
1 year, 8 months agoAsheel1
1 year, 2 months agocodemk
2 years, 4 months agoSolventCourseisSCAM
2 years, 3 months agoHudda
3 years, 9 months agohellonair
3 years, 10 months agoShafiqul
3 years, 11 months agoRoGr
4 years ago