Splunk Enterprise

Lookup creation validation

rayar
Contributor

we are running 2 steps progress

1. Create lookup (by scheduled report )

2. Create index summary using the lookup data  

 

what will be the best way to make sure the step 2 starts only incase step 1 is completed successfully ?

Labels (1)
0 Karma

aasabatini
Motivator

Hi @rayar 

you can check the triggered report or alert with this search:

index=_audit action=alert_fired ss_app=* | eval ttl=expiration-now() | search ttl>0 | convert ctime(trigger_time) | table trigger_time ss_name severity | rename trigger_time as "Alert Time" ss_name as "Alert Name" severity as "Severity"

 

after you ran this search you can create alert action to run another search to collect the results.
this is just one method but I think you can use a lot of use case.

“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”
0 Karma

rayar
Contributor

The first step is to build the lookup we are running it as a report , how we can verify that the lookup builder is completed ?

the query is running for alerts only 

 

0 Karma

aasabatini
Motivator

Hi @rayar 

please use these info to build your search, any search are stored on _audit index.
please add on this search these details to understand if is completed

index=_audit action=search info=completed user=[owner of the search] savedsearch_name=[the name of the search]

please remember to add values on user field and savedsearch_name field

“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”
0 Karma

rayar
Contributor

I see that even those that failed and weren't fully completed are marked as completed 

Tags (1)
0 Karma

aasabatini
Motivator

Hi @rayar,

 

apologize for the multiple answer but without see the data it's little bit hard.

are you identified the saved search on audit log?

also to show your saved search you can use this search

| rest splunk_server=local /services/saved/searches  | rename eai:acl.owner AS Author eai:acl.sharing AS Permissions eai:acl.app AS App search AS "Saved Search" | fields Author Permissions App "Saved Search"

 

let me know

“The answer is out there, Neo, and it’s looking for you, and it will find you if you want it to.”
Tags (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...