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!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...