<?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 Modify CSV attachment name when emailed in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161242#M32676</link>
    <description>&lt;P&gt;I am looking for a way to modify the default CSV name "splunk-results.csv" in version 6.2.1.  I need the CSV attachments to be named "$searchname.csv" so I can email them to SharePoint and have the files be identifiable by name.&lt;/P&gt;

&lt;P&gt;In older versions of Splunk before 6.0.1 I was able to modify ($splunk_home/etc/apps/search/bin/sendemail.py) but the script changed in one of the more recent versions and I am unable to make it work now.&lt;/P&gt;

&lt;P&gt;Greatly appreciate any advice you can offer!&lt;/P&gt;</description>
    <pubDate>Fri, 27 Feb 2015 14:27:04 GMT</pubDate>
    <dc:creator>zindain24</dc:creator>
    <dc:date>2015-02-27T14:27:04Z</dc:date>
    <item>
      <title>Modify CSV attachment name when emailed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161242#M32676</link>
      <description>&lt;P&gt;I am looking for a way to modify the default CSV name "splunk-results.csv" in version 6.2.1.  I need the CSV attachments to be named "$searchname.csv" so I can email them to SharePoint and have the files be identifiable by name.&lt;/P&gt;

&lt;P&gt;In older versions of Splunk before 6.0.1 I was able to modify ($splunk_home/etc/apps/search/bin/sendemail.py) but the script changed in one of the more recent versions and I am unable to make it work now.&lt;/P&gt;

&lt;P&gt;Greatly appreciate any advice you can offer!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2015 14:27:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161242#M32676</guid>
      <dc:creator>zindain24</dc:creator>
      <dc:date>2015-02-27T14:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Modify CSV attachment name when emailed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161243#M32677</link>
      <description>&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Outputcsv"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Outputcsv&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Take a look there, you can specify the filename&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2015 14:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161243#M32677</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-27T14:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Modify CSV attachment name when emailed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161244#M32678</link>
      <description>&lt;P&gt;Thanks for your comments Mark, although this command doesn't appear to change the CSV name when emailed.&lt;/P&gt;

&lt;P&gt;Any other thoughts?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Feb 2015 15:37:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161244#M32678</guid>
      <dc:creator>zindain24</dc:creator>
      <dc:date>2015-02-27T15:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Modify CSV attachment name when emailed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161245#M32679</link>
      <description>&lt;P&gt;I also want to know if there is a way to modify the CSV name when emailed.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:19:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161245#M32679</guid>
      <dc:creator>ben_leung</dc:creator>
      <dc:date>2015-04-30T14:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Modify CSV attachment name when emailed</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161246#M32680</link>
      <description>&lt;P&gt;Use the filename arguement.&lt;BR /&gt;
Syntax: &amp;lt;filename&amp;gt;&lt;BR /&gt;
Description: Specify the name of a csv file to write the search results. This file should be located in $SPLUNK_HOME/var/run/splunk. If no filename specified, rewrites the contents of each result as a CSV row into the "_xml" field. Otherwise writes into a file (appends ".csv" to filename if filename has no existing extension).&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:56:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Modify-CSV-attachment-name-when-emailed/m-p/161246#M32680</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2020-09-28T19:56:28Z</dc:date>
    </item>
  </channel>
</rss>

