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.

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...