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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...