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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...