<?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: Why table listing is not in reverse _time order in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/587139#M204486</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;this is a way to work configured by default and I don't know why it is!&lt;/P&gt;&lt;P&gt;Anyway, in the search dashboard the sort default is -_time, in a search the default is always ascending for the grouping fields (if there's a command like stats) or ascending for the first column.&lt;/P&gt;&lt;P&gt;If you have large differences between _time and indextime, you have to check the chain of log ingestion because there's some delay that could be caused by many factors: delays in log registration on the server, queues, etc...&lt;/P&gt;&lt;P&gt;Usually a Forwarder sends its logs every 30 seconds, if you have greater delays, I hint to investigate because you could have queues.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 08:29:31 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-03-02T08:29:31Z</dc:date>
    <item>
      <title>Why is table listing not in reverse _time order?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/587104#M204474</link>
      <description>&lt;P&gt;If I do an index search, raw events are listed in reverse _time order, which is often also the reverse _indextime order so I don't exactly know which. &amp;nbsp;But if I table the results, the table is no longer in this order. &amp;nbsp;Why is it so?&lt;/P&gt;
&lt;P&gt;I used the following to inspect table&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sourcetype=sometype
| eval indextime=strftime(_indextime, "%F %T")
| table _time indextime&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The table kind of list later entries first, but not consistent, often swapped by hours.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 14:32:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/587104#M204474</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-04-04T14:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Why table listing is not in reverse _time order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/587139#M204486</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;this is a way to work configured by default and I don't know why it is!&lt;/P&gt;&lt;P&gt;Anyway, in the search dashboard the sort default is -_time, in a search the default is always ascending for the grouping fields (if there's a command like stats) or ascending for the first column.&lt;/P&gt;&lt;P&gt;If you have large differences between _time and indextime, you have to check the chain of log ingestion because there's some delay that could be caused by many factors: delays in log registration on the server, queues, etc...&lt;/P&gt;&lt;P&gt;Usually a Forwarder sends its logs every 30 seconds, if you have greater delays, I hint to investigate because you could have queues.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 08:29:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/587139#M204486</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-03-02T08:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why table listing is not in reverse _time order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/587154#M204492</link>
      <description>&lt;P&gt;To clarify, I do not see large difference between _time and _indextime. &amp;nbsp;On the contrary, my first investigation was whether the _time jumps were caused by such differences. &amp;nbsp;That was why I tabled both. &amp;nbsp;To my surprise, _indextime jumps just as much as _time. (Compared with the jumps, the difference is negligible.)&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 09:14:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/587154#M204492</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-03-02T09:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why table listing is not in reverse _time order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/587159#M204494</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;sorry but it's very difficoult to help you withous seeing data.&lt;/P&gt;&lt;P&gt;You should check, on original logs if there are the same jumps or if they are caused by Splunk, but I don't think because, as you said, there isn't a large difference between _time and indextime.&lt;/P&gt;&lt;P&gt;In addition, try to check if the timestamp parsing is correct, in other words if the Splunk TimeStamp is the same of the raw event.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 09:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/587159#M204494</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-03-02T09:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why table listing is not in reverse _time order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/592070#M206111</link>
      <description>&lt;P&gt;Thanks for all the help,&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;! &amp;nbsp;You are correct that it is impossible to explore without seeing data; in fact, I was at a total loss as to how to even exemplify data, as data in those messed-up records had little clue - for very good reason: it is not related to data itself. (The data are essentially yum output ingested from /receivers/simple API interface.)&lt;/P&gt;&lt;P data-unlink="true"&gt;I finally realized that this is related to another unsolved problem that I reported at the same time:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/Why-are-REST-API-receivers-simple-breaks-input-unexpectedly/m-p/587308" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/Why-are-REST-API-receivers-simple-breaks-input-unexpectedly/m-p/587308&lt;/A&gt;. &amp;nbsp;The clue came when I isolated fragments from one particular broken event. &amp;nbsp;I expected _time to be extracted from the timestamp I added to the beginning of the event, then Splunk "extracted" time from some mysterious and magical place in those fragments, or used some other algorithm to combine _indextime with some sort of extraction to calculate _time. &amp;nbsp;The point is, in a period when multiple such fragmentation happen, the net result becomes very difficult to diagnose.&lt;/P&gt;&lt;P data-unlink="true"&gt;With the sample fragments from a single broken event, I finally see that raw event listing follows reverse _time order, whereas table listing follows reverse _indextime order.&lt;/P&gt;&lt;P data-unlink="true"&gt;The real fix I needed is that API ingestion problem.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Apr 2022 23:58:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/592070#M206111</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2022-04-02T23:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why table listing is not in reverse _time order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/592072#M206112</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/33901"&gt;@yuanliu&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2022 05:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/592072#M206112</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-03T05:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Why table listing is not in reverse _time order</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/592073#M206113</link>
      <description>&lt;P&gt;If you have problem with receivers/simple, why not use services/collector/event/1.0 and push the whole event with ready-made timestamp? It works &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2022 07:39:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-table-listing-not-in-reverse-time-order/m-p/592073#M206113</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-03T07:39:47Z</dc:date>
    </item>
  </channel>
</rss>

