Splunk Enterprise Security

How to capture the time when the notable alert was fired, in a field?

Vnam
Engager

I have to populate a field called event_generation_time. I want to populate the time when notable event was created for a correlation search in this field, is there any way to capture this timestamp?

0 Karma

woodcock
Esteemed Legend

Just add this to the end of your SPL:

| eval now=now(), time=time()

The difference is that now is when the report was supposed to run, but time is when it actually ran (there are features to delay start times to skew the demand).
To keep them "invisible", do this:

| eval _now=now(), _nowtime=time()
0 Karma

Vnam
Engager

Is there a way to do this without changing SPL, because it was not configured before and would require a change in all the correlation searches? Is there some metadata field which can be used, for instance I saw there was a field "info_max_time" in Notable event stash, will this be the correct field to use for this purpose? (Ref: http://dev.splunk.com/view/enterprise-security/SP-CAAAFBA).
Thanks in Advance!

0 Karma

woodcock
Esteemed Legend

Nothing that I know.

0 Karma
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.


Introducing Unified TDIR with the New Enterprise Security 8.2

Read the blog
Get Updates on the Splunk Community!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...