Splunk Search

How to create Reports from a seed file?

vader13
Explorer

I have six different SPL queries that I run on a specific IP Address.  Is it possible to save a search as a report, schedule that report to run, and provide the report a seed file of IP addresses.

I have 20+ IP addresses that I need to run the same 6 reports on.  Right now i'm just running them interactively, which is a pain.

Any suggestions?

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You could save the ip addresses to  lookup file and use inputlookup to retrieve the ipaddresses to use in your reports.

Admittedly, this answer is vague as it depends on the nature of your searches and what you are trying to achieve as output e.g. this method could be used if you want to combine the reports in to just 6 with all the ipaddresses in each report, although you could update the searches to take into account the extra dimension of ipaddress (depending on your actual searches).

0 Karma

vader13
Explorer

Thanks for the feedback.  I'll see if that works for me.

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!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...