Splunk Search

Start external process and retrieve results later

bmorgenthaler
Path Finder

So I don't even know where to start researching on how I would setup what I want to do. I'm looking to query a number of different REST APIs (one example is urlscan.io) which return a UUID which you then use at a later date to retrieve the results. Making the initial call or the results call itself aren't the issue. It is what method would I use to store the UUID and then be able to retrieve it later for a report?

0 Karma

marycordova
SplunkTrust
SplunkTrust

I would build this into your python or bash or whatever your'e doing the API calls from and then once the report is ready spit that out to file so that Splunk just monitors that file/directory.

You'll want to make sure that you are cleaning up after the script so you don't end up with a directory full of a ton of little files (literally had a system once with hundreds of thousands of little files that were choking the host OS ask @samhays LOL) or a file that is 75GB in size because each report just keeps getting appended (literally true...ask @samhays LOL).

@marycordova
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...