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!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...