Splunk Enterprise Security

Customize report

ajayrejin
Explorer

Hi,

I have a requirement to customize the report generated in csv format, this is a scheduled report.
The report in .csv must have two sheets. First sheet should have splunk logo and time frame the report is for.
Second sheet should contain report name and the data .

Is there any way i customize the csv to include the above.

Thanks,
Ajay

0 Karma

efavreau
Motivator

You can not customize it in Splunk. You would need to do it manually every time.
Further, when you discuss "sheets", that's an Excel/spreadsheet concept, not a csv concept.

###

If this reply helps you, an upvote would be appreciated.
0 Karma

ajayrejin
Explorer

Okay. Can i use custom token in the email header of the report to show the month for which the report is run.
like use eval to create a custom field and use that field in the email header.

0 Karma

efavreau
Motivator

Not exactly. However, in the docs, there's a list of variables that can be used:
https://docs.splunk.com/Documentation/Splunk/Latest/Alert/EmailNotificationTokens

You could edit some conf files to create a new variable. Or you might be able to find something you can use with $job.latestTime$ or $result.fieldname$

###

If this reply helps you, an upvote would be appreciated.
0 Karma
Get Updates on the Splunk Community!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

Stay Connected: Your Guide to January Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...

[Puzzles] Solve, Learn, Repeat: Reprocessing XML into Fixed-Length Events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...