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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...