<?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: table export displays different date format in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/table-export-displays-different-date-format/m-p/104691#M27141</link>
    <description>&lt;P&gt;You can add an additional formatted time field to your query to format the date/time into something a little easier to read with: '| convert ctime(_time) as time' &lt;/P&gt;

&lt;P&gt;When you export the data you can remove the _time field from the CSV and use the new 'time' field instead.&lt;/P&gt;</description>
    <pubDate>Mon, 19 Mar 2012 18:51:40 GMT</pubDate>
    <dc:creator>DanielBC</dc:creator>
    <dc:date>2012-03-19T18:51:40Z</dc:date>
    <item>
      <title>table export displays different date format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/table-export-displays-different-date-format/m-p/104690#M27140</link>
      <description>&lt;P&gt;Hi All,  If I create a custom report using a table, the date displays and outputs in the browser fine:&lt;BR /&gt;
11/1/11 5:35:20.000 PM&lt;/P&gt;

&lt;P&gt;However, when I export the custom report to CSV, the date does not display as the browser:&lt;BR /&gt;
2011-11-01T17:35:20.000-05:00&lt;/P&gt;

&lt;P&gt;Any idea how I can get the CSV date to appear like what's displayed in the browser?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2011 22:51:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/table-export-displays-different-date-format/m-p/104690#M27140</guid>
      <dc:creator>voltaireb</dc:creator>
      <dc:date>2011-11-04T22:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: table export displays different date format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/table-export-displays-different-date-format/m-p/104691#M27141</link>
      <description>&lt;P&gt;You can add an additional formatted time field to your query to format the date/time into something a little easier to read with: '| convert ctime(_time) as time' &lt;/P&gt;

&lt;P&gt;When you export the data you can remove the _time field from the CSV and use the new 'time' field instead.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2012 18:51:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/table-export-displays-different-date-format/m-p/104691#M27141</guid>
      <dc:creator>DanielBC</dc:creator>
      <dc:date>2012-03-19T18:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: table export displays different date format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/table-export-displays-different-date-format/m-p/104692#M27142</link>
      <description>&lt;P&gt;I think this occurs when you create a time chart and export that data. I don't think you can add a field to a timechart just like that.&lt;BR /&gt;
timechart count by domain,_time&lt;BR /&gt;
returns _time not valid.&lt;/P&gt;

&lt;P&gt;You can go to excel and convert the date manually.&lt;/P&gt;

&lt;P&gt;So as an example you can use the datevalue or date functions in excel.&lt;BR /&gt;
datevalue("2012-11-30")+B2/24&lt;BR /&gt;
when 2012-11-30 is the first date of your splunk data&lt;BR /&gt;
and your data has a span of an hour (24)&lt;BR /&gt;
and column B in excel is a bunch of numbers starting from 0 and incrementing by 1 every row down.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Nov 2012 20:02:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/table-export-displays-different-date-format/m-p/104692#M27142</guid>
      <dc:creator>obesechicken13</dc:creator>
      <dc:date>2012-11-30T20:02:00Z</dc:date>
    </item>
  </channel>
</rss>

