Getting Data In

How to use action.email.reportFileName to remove the automatic timestamp from the csv output filename attached to emails?

kearaspoor
SplunkTrust
SplunkTrust

I'm looking for an option to remove the automatic timestamp from the csv output filename attached to emails.

According to both the doco (http://docs.splunk.com/Documentation/Splunk/6.4.3/Admin/Alertactionsconf)
and this answer: https://answers.splunk.com/answers/439644/removing-time-stamp-from-the-emailed-csv-file.html

It sounds like it should be as simple as going into Advanced Edit and adjusting action.email.reportFileName so that the default ($name$-$time:%Y-%m-%d$) is removed and putting in .csv... which I've done.

Any ideas why I'm still getting the default : Searchname-yyyy-mm-dd

We do have a search cluster that I'm not 100% familiar with but I have verified that the Advanced Edit setting replicated to each node. I've even looked at the savedsearches.conf on in the CLI for each node and verified that it has the
action.email.reportFileName =.csv

Thanks in advance for your assistance!

0 Karma
1 Solution

kearaspoor
SplunkTrust
SplunkTrust

Received word from vendor support that this issue is an official bug that should be resolved in version 6.5.1

View solution in original post

0 Karma

kearaspoor
SplunkTrust
SplunkTrust

Received word from vendor support that this issue is an official bug that should be resolved in version 6.5.1

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Did you replace $name$-$time:%Y-%m-%d$ with .csv? The .csv extension is added automatically, you should just remove the timestamp ports which is -$time:%Y-%m-%d$.

0 Karma

kearaspoor
SplunkTrust
SplunkTrust

Sorry! Didn't realize that my original post cut out some information regarding the file name.

I've tried removing the -$time:%Y-%m-d$ as you recommend, leaving just $name$
I've also tried removing the entire default ($name$-$time:%Y-%m-%d$) and manually entering just a filename without the .csv at the end.
And I've also tried removing the entire default, manually entering the filename with the .csv at the end.

All of them end up with the default ($name$-$time:%Y-%m-%d$) as the results.

0 Karma
Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...