Knowledge Management

How does summary indexing handle time?

araitz
Splunk Employee
Splunk Employee

I have noticed that when summarizing some events that do not have a timestamp (tabular reports, data from lookups), the _time value is not set as I would expect. How does summary indexing decide what time to use?

Tags (2)
1 Solution

araitz
Splunk Employee
Splunk Employee

To set the time for summary index events, Splunk uses the following information, in this order of precedence:

  1. The _time value of the event being summarized
  2. The earliest (or minimum) time of the search
  3. The current system time (in the case of an "all time" search, where no "earliest" value is specified)

http://www.splunk.com/base/Documentation/latest/Knowledge/Usesummaryindexing#Summary_indexing_of_dat...

View solution in original post

araitz
Splunk Employee
Splunk Employee

To set the time for summary index events, Splunk uses the following information, in this order of precedence:

  1. The _time value of the event being summarized
  2. The earliest (or minimum) time of the search
  3. The current system time (in the case of an "all time" search, where no "earliest" value is specified)

http://www.splunk.com/base/Documentation/latest/Knowledge/Usesummaryindexing#Summary_indexing_of_dat...

AnilPujar
Path Finder

But when I try simple below query its taking the current system time instead of _time of event.

index=indexname | collect index=si

I want the events in the summary index to retain the _time as it is in the primary index. But it's storing the current system time.

AnilPujar
Path Finder

@araitz , please check n help...

0 Karma

cblanton
Communicator

I'm having the same issue. My events have a _time value, but it is not maintained in the summary index. It also stores the current system time which seems to contradict the precedence outlined above. Did you ever find a solution @AnilPujar?

Get Updates on the Splunk Community!

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...