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!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

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