Knowledge Management

How can I set "_time" = "initialQueryTime" in the summary index?

lpolo
Motivator

I need to set the "_time" of a summary index equal to the time of a field value.
Like for example:
Event:


abc

In this particular example I need to set "_time" = "initialQueryTime" in the summary index.
I tried using in my schedule search the following eval:
eval _time=relative_time(initialQueryTime, "0d@d") but it does not work.

I am able to get the date but not the time of the date like this:
eval _time=relative_time(now(), "-23d@d")

How can I set "_time" = "initialQueryTime" in the summary index?

Any idea.....

Thanks for your help....

Lp

Tags (1)

lpolo
Motivator

I could not find a solution. So I used "eval _time=relative_time(initialQueryTime, "0d@d")"

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...