<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Splunk 9.0.4 Custom Attachment Name for Emails from Saved Search in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Splunk-9-0-4-Custom-Attachment-Name-for-Emails-from-Saved-Search/m-p/636771#M14956</link>
    <description>&lt;P&gt;I need to change the format of the name of the .csv attachments on reports from my organization's saved searches. I've gone through the older solutions but they don't seem to be valid anymore.&lt;BR /&gt;The goal is when a report sends an email with a .csv attachment to have the timestamp be "$name$-$time:%Y-%m-%d-%H:%M:%S$" instead of just "$name$-$time:%Y-%m-%d".&lt;BR /&gt;Neither setting the&amp;nbsp;reportFileName in alert_actions.conf or adding an&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;action.email.reportFileName line to the saved search itself is changing the name of the file. Is there a workaround for Splunk 9?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 19:51:38 GMT</pubDate>
    <dc:creator>landrujw</dc:creator>
    <dc:date>2023-03-30T19:51:38Z</dc:date>
    <item>
      <title>Splunk 9.0.4 Custom Attachment Name for Emails from Saved Search</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-9-0-4-Custom-Attachment-Name-for-Emails-from-Saved-Search/m-p/636771#M14956</link>
      <description>&lt;P&gt;I need to change the format of the name of the .csv attachments on reports from my organization's saved searches. I've gone through the older solutions but they don't seem to be valid anymore.&lt;BR /&gt;The goal is when a report sends an email with a .csv attachment to have the timestamp be "$name$-$time:%Y-%m-%d-%H:%M:%S$" instead of just "$name$-$time:%Y-%m-%d".&lt;BR /&gt;Neither setting the&amp;nbsp;reportFileName in alert_actions.conf or adding an&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;action.email.reportFileName line to the saved search itself is changing the name of the file. Is there a workaround for Splunk 9?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 19:51:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-9-0-4-Custom-Attachment-Name-for-Emails-from-Saved-Search/m-p/636771#M14956</guid>
      <dc:creator>landrujw</dc:creator>
      <dc:date>2023-03-30T19:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 9.0.4 Custom Attachment Name for Emails from Saved Search</title>
      <link>https://community.splunk.com/t5/Alerting/Splunk-9-0-4-Custom-Attachment-Name-for-Emails-from-Saved-Search/m-p/637056#M14960</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255340"&gt;@landrujw&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;One way to do it would be, in the search set the current time in whichever format you want in a field.&lt;BR /&gt;And use this field in the report name. Something like this "$name$ - $myReportTime$"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;~ If the reply helps, a Karma upvote would be appreciated.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 05:15:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Splunk-9-0-4-Custom-Attachment-Name-for-Emails-from-Saved-Search/m-p/637056#M14960</guid>
      <dc:creator>Gr0und_Z3r0</dc:creator>
      <dc:date>2023-04-01T05:15:44Z</dc:date>
    </item>
  </channel>
</rss>

