Reporting

Splunk Report functionality

KYAKUBO
Observer

I have created a CSV report, but I want it's name to be dynamic based on one of the values present in the report.

I need to generate multiple report for different files processed by the system and name the report with the same file name.  This parameter is available in the report in one of the columns.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @KYAKUBO ..i am not much clear on your query..

i assume like this..you have created a Splunk Report, which will generate a table format result, you are sending email notifications on each run.. you wanted the email attachment file name to be dynamic.

is that correct, please suggest, thanks.

0 Karma

KYAKUBO
Observer

You are absolutely correct.  There value that I want to use for the attached CSV file is present in the CSV as one of the fields.  I was able to add that dynamic value to Alert Email Subject using the following structure: $result.repordCode$, where report code is a value from the search.

But cannot figure where and how update the output report name.

Any help would be appreciated.

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!

Mile High Learning with Splunk University, Denver, Colorado

If Denver is known for its mile-high elevation, Splunk University is about to raise the bar on technical ...

IT Service Intelligence 5.0 Series: Your Guide to the June Launch

We are excited to announce the June release of Splunk IT Service Intelligence (ITSI) 5.0. This update ...

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...