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.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...