Splunk Search

Pivot search won't work if it's accelerated, but works fine when acceleration is removed

anthony_copus
Explorer

I currently have a simple constraint in a pivot datamodel which is:

index=video earliest=-5h-1d@d+5h latest=-5h@d+5h

This query by itself returns results.

However, when put as a constraint in a pivot and then querying by the pivot, no results are returned if the pivot is accelerated. Removing the acceleration however means results come through.

What can cause issues like this with accelerated pivots?

Anthony

1 Solution

anthony_copus
Explorer

After speaking with support, they recommended not to put time modifiers in the query itself. It seems like the obscure modifier causes problems with the buckets.

Either way, the best way around it regardless of the actual root of the problem is to accelerate a portion of data that covers your time span, then add the modifiers when running the pivot command

View solution in original post

anthony_copus
Explorer

After speaking with support, they recommended not to put time modifiers in the query itself. It seems like the obscure modifier causes problems with the buckets.

Either way, the best way around it regardless of the actual root of the problem is to accelerate a portion of data that covers your time span, then add the modifiers when running the pivot command

kkentsplunk
Engager

I also have this issue. Anyone?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...