<?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 Re: how to change date/time format in .csv email alert? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86179#M17922</link>
    <description>&lt;P&gt;Easy enough to modify the script yourself, but agreed that at least &lt;CODE&gt;_time&lt;/CODE&gt; specifically should be automatic. Maybe time to file another ER...&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2010 10:38:55 GMT</pubDate>
    <dc:creator>southeringtonp</dc:creator>
    <dc:date>2010-11-10T10:38:55Z</dc:date>
    <item>
      <title>how to change date/time format in .csv email alert?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86176#M17919</link>
      <description>&lt;P&gt;When I schedule the following search and send a report through email, the date/time in the attached .csv file  does not show the correct format, it shows the numerical time ie. 1287990000.  &lt;/P&gt;

&lt;P&gt;index=_internal todaysBytesIndexed LicenseManager-Audit NOT source=*web_service.log | eval Daily_Indexing_Volume_in_MBs = todaysBytesIndexed/1024/1024 | timechart avg(Daily_Indexing_Volume_in_MBs) by host&lt;/P&gt;

&lt;P&gt;Running the search in the UI and as an exported report will return a readable date.&lt;/P&gt;

&lt;P&gt;10/25/10 00:00:00.000 AM&lt;/P&gt;

&lt;P&gt;How do I convert the date/time format in the .csv file?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2010 07:16:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86176#M17919</guid>
      <dc:creator>Jaci</dc:creator>
      <dc:date>2010-11-09T07:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to change date/time format in .csv email alert?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86177#M17920</link>
      <description>&lt;P&gt;One of several options:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| convert ctime(_time) as timestamp 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, see previous thread:
&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;
&lt;A href="http://answers.splunk.com/questions/6971/how-to-format-time-field-in-results-email" rel="nofollow"&gt;http://answers.splunk.com/questions/6971/how-to-format-time-field-in-results-email&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2010 08:44:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86177#M17920</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-11-09T08:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to change date/time format in .csv email alert?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86178#M17921</link>
      <description>&lt;P&gt;Does anyone know &lt;EM&gt;why&lt;/EM&gt; this isn't handled automatically in the &lt;CODE&gt;sendemail.py&lt;/CODE&gt; script?  I mean, does anyone ever really want to see &lt;CODE&gt;_time&lt;/CODE&gt; as an epoch value?  Is this because of some kind of timezone thing?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Nov 2010 23:23:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86178#M17921</guid>
      <dc:creator>Lowell</dc:creator>
      <dc:date>2010-11-09T23:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to change date/time format in .csv email alert?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86179#M17922</link>
      <description>&lt;P&gt;Easy enough to modify the script yourself, but agreed that at least &lt;CODE&gt;_time&lt;/CODE&gt; specifically should be automatic. Maybe time to file another ER...&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 10:38:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86179#M17922</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-11-10T10:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to change date/time format in .csv email alert?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86180#M17923</link>
      <description>&lt;P&gt;@southeringtonp &lt;BR /&gt;
can you please help in modifying the sendemail.py python script&lt;BR /&gt;
so that job.earliestTime token will display date and time differently with proper timezone as well&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2015 12:06:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-change-date-time-format-in-csv-email-alert/m-p/86180#M17923</guid>
      <dc:creator>splunk47</dc:creator>
      <dc:date>2015-04-27T12:06:29Z</dc:date>
    </item>
  </channel>
</rss>

