<?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 index time in table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84023#M21418</link>
    <description>&lt;P&gt;The field name is &lt;CODE&gt;_indextime&lt;/CODE&gt;, as shown. he is formatting it for you using the &lt;CODE&gt;convert&lt;/CODE&gt; command &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Convert"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Convert&lt;/A&gt; since it is an epoch time and you might want it displayed differently. There is of course more than one way to reformat the timestamp.&lt;/P&gt;</description>
    <pubDate>Sat, 05 Oct 2013 23:44:18 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2013-10-05T23:44:18Z</dc:date>
    <item>
      <title>How to display index time in table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84019#M21414</link>
      <description>&lt;P&gt;I'm having a hard time displaying the event index time in a table.  What is the field name for index time?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2013 21:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84019#M21414</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2013-10-04T21:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to display index time in table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84020#M21415</link>
      <description>&lt;P&gt;Something like '* | convert ctime(_indextime) as it | table host it'.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2013 21:31:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84020#M21415</guid>
      <dc:creator>jkerai</dc:creator>
      <dc:date>2013-10-04T21:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to display index time in table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84021#M21416</link>
      <description>&lt;P&gt;Isn't there just a field name to display the event or index time?  I tried the above and it didn't work.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2013 22:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84021#M21416</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2013-10-04T22:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to display index time in table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84022#M21417</link>
      <description>&lt;P&gt;Field names starting with an underscore usually will not show up in a results table.  The easiest thing to do is use the &lt;CODE&gt;eval&lt;/CODE&gt; command to make a new field that is viewable.  Note it will be in epoch time (that is seconds-since 1/1/1970 00:00:00 UTC)&lt;/P&gt;

&lt;P&gt;In addition to the technique shown by Jag above, you could try adding this to your search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval indextime=strftime(_indextime,"%Y-%m-%d %H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which should make a new field called &lt;CODE&gt;indextime&lt;/CODE&gt; with a ISO-formatted value.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2013 05:28:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84022#M21417</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2013-10-05T05:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to display index time in table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84023#M21418</link>
      <description>&lt;P&gt;The field name is &lt;CODE&gt;_indextime&lt;/CODE&gt;, as shown. he is formatting it for you using the &lt;CODE&gt;convert&lt;/CODE&gt; command &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Convert"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/SearchReference/Convert&lt;/A&gt; since it is an epoch time and you might want it displayed differently. There is of course more than one way to reformat the timestamp.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Oct 2013 23:44:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84023#M21418</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-10-05T23:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to display index time in table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84024#M21419</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2013 16:00:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84024#M21419</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2013-10-07T16:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to display index time in table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84025#M21420</link>
      <description>&lt;P&gt;So I was able to display the time in a table by simply adding the filed " _time ".  Works great and no eval or convert required!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:29:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84025#M21420</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2013-10-08T15:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to display index time in table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84026#M21421</link>
      <description>&lt;P&gt;that is not the index time. that is the event time.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:30:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84026#M21421</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-10-08T15:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to display index time in table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84027#M21422</link>
      <description>&lt;P&gt;Oh Ok, thanks for the clarification.  Now thanks to the input I know how to display index time and the event time.  Thanks again.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2013 15:51:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-index-time-in-table/m-p/84027#M21422</guid>
      <dc:creator>echojacques</dc:creator>
      <dc:date>2013-10-08T15:51:07Z</dc:date>
    </item>
  </channel>
</rss>

