<?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 display time rightly in csv file in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357316#M170063</link>
    <description>&lt;P&gt;@fzfeng, can you try  &lt;CODE&gt;| convert ctime(_time)&lt;/CODE&gt; please, that work for me:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal
| timechart span=1d count(eval(log_level=INFO)) as countInfo 
| convert ctime(_time)
| outputcsv  tst.csv
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 24 Apr 2018 08:12:55 GMT</pubDate>
    <dc:creator>TISKAR</dc:creator>
    <dc:date>2018-04-24T08:12:55Z</dc:date>
    <item>
      <title>how to display time rightly in csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357310#M170057</link>
      <description>&lt;P&gt;hello  &lt;/P&gt;

&lt;P&gt;I export my search result  to csv file  &lt;/P&gt;

&lt;P&gt;but when I open it  the  time  just display like this &lt;/P&gt;

&lt;P&gt;1.52E+09   &lt;/P&gt;

&lt;P&gt;index=maillog I timechart span=1d，count（eval（IP=×××）） as  IP1 I outputcsv  IP1&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 05:45:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357310#M170057</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-24T05:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to display time rightly in csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357311#M170058</link>
      <description>&lt;P&gt;Are you seeing the issue when you are running |inputcsv IP1 .?&lt;/P&gt;

&lt;P&gt;My understanding is  that you are seeing the display 1.52E+09 when you download and open in excel .&lt;BR /&gt;
If that is the  case please increase the width size of the cell which gives excel enough space to display the value .&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 05:56:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357311#M170058</guid>
      <dc:creator>ssadanala1</dc:creator>
      <dc:date>2018-04-24T05:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to display time rightly in csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357312#M170059</link>
      <description>&lt;P&gt;Can you try this :&lt;/P&gt;

&lt;P&gt;This is more efficient&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=maillog IP=XXXX | bin _time span=1d | stats count as IP1 by _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Apr 2018 06:08:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357312#M170059</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-04-24T06:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to display time rightly in csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357313#M170060</link>
      <description>&lt;P&gt;thank you  I tried it&lt;BR /&gt;&lt;BR /&gt;
and i set the time range one month   &lt;/P&gt;

&lt;P&gt;the graph  it displaied 3/27    3/29   3/31  4/2   4/4   .....&lt;/P&gt;

&lt;P&gt;but the table  displaied 3/37   3/28   3/29  3/31  4/1  4/2   ....&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 07:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357313#M170060</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-24T07:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to display time rightly in csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357314#M170061</link>
      <description>&lt;P&gt;If the table has all the days, then everything is correct. The graph has all data points, it's just that not all labels are shown.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 07:42:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357314#M170061</guid>
      <dc:creator>janispelss</dc:creator>
      <dc:date>2018-04-24T07:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to display time rightly in csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357315#M170062</link>
      <description>&lt;P&gt;OK  thank you very much&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 07:48:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357315#M170062</guid>
      <dc:creator>fzfeng</dc:creator>
      <dc:date>2018-04-24T07:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to display time rightly in csv file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357316#M170063</link>
      <description>&lt;P&gt;@fzfeng, can you try  &lt;CODE&gt;| convert ctime(_time)&lt;/CODE&gt; please, that work for me:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal
| timechart span=1d count(eval(log_level=INFO)) as countInfo 
| convert ctime(_time)
| outputcsv  tst.csv
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Apr 2018 08:12:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-display-time-rightly-in-csv-file/m-p/357316#M170063</guid>
      <dc:creator>TISKAR</dc:creator>
      <dc:date>2018-04-24T08:12:55Z</dc:date>
    </item>
  </channel>
</rss>

