<?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 sort listed data? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153697#M43156</link>
    <description>&lt;P&gt;Thanks for comment PPape,&lt;BR /&gt;
When I executed my script, I got a unsorted set in "N of target". I want descended sorting data with "N of Target" field. 100 means if count is greater than 100, I will include data set.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2014 08:29:23 GMT</pubDate>
    <dc:creator>happy035</dc:creator>
    <dc:date>2014-07-23T08:29:23Z</dc:date>
    <item>
      <title>How to sort listed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153693#M43152</link>
      <description>&lt;P&gt;I extracted some data from my set with this "stats count by failure_reason, dst | stats list(dst) as Target list(count) as "N of Target" by failure_reason " &lt;BR /&gt;
The I got follow result set. &lt;/P&gt;

&lt;P&gt;failure_reason            dst                 [N of Target]&lt;BR /&gt;
not a http reply line   107.23.&lt;STRONG&gt;&lt;EM&gt;.199          27&lt;BR /&gt;
                        108.168.&lt;/EM&gt;&lt;/STRONG&gt;.6           5&lt;BR /&gt;
                        110.75.***.240          9&lt;/P&gt;

&lt;P&gt;I'd like to sort dst field using [N of Target]. Could you tell  me how can I do that please?&lt;BR /&gt;
Then one more question, I want to watch dstes over count such as over 100 count. How can I complete that?&lt;/P&gt;

&lt;P&gt;Many Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:08:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153693#M43152</guid>
      <dc:creator>happy035</dc:creator>
      <dc:date>2020-09-28T17:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort listed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153694#M43153</link>
      <description>&lt;P&gt;stats count by failure_reason, dst | stats list(dst) as Target list(count) as "N of Target" by failure_reason | sort 100 - "N of Target" &lt;/P&gt;

&lt;P&gt;Should show you the top 100 results sorted by N of Target&lt;/P&gt;

&lt;P&gt;can you give an example for your second question? I'm not sure if I understand it correct.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:08:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153694#M43153</guid>
      <dc:creator>PPape</dc:creator>
      <dc:date>2020-09-28T17:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort listed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153695#M43154</link>
      <description>&lt;P&gt;Basically you need to sort dst based on Count in ascending order? Additionally you want to see only those dst(s) which have count greater than 100. Is that right?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 08:04:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153695#M43154</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-23T08:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort listed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153696#M43155</link>
      <description>&lt;P&gt;Hi Strive. It's correct. I want to extract destination list if count is greater than 100. But before it, I'd like to descending sort with N of Target.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 08:26:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153696#M43155</guid>
      <dc:creator>happy035</dc:creator>
      <dc:date>2014-07-23T08:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort listed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153697#M43156</link>
      <description>&lt;P&gt;Thanks for comment PPape,&lt;BR /&gt;
When I executed my script, I got a unsorted set in "N of target". I want descended sorting data with "N of Target" field. 100 means if count is greater than 100, I will include data set.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 08:29:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153697#M43156</guid>
      <dc:creator>happy035</dc:creator>
      <dc:date>2014-07-23T08:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to sort listed data?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153698#M43157</link>
      <description>&lt;P&gt;Than try this:&lt;/P&gt;

&lt;P&gt;stats count by failure_reason, dst | stats list(dst) as Target list(count) as "N of Target" by failure_reason | where "N of Target" &amp;gt;= 100 | sort 1000 - "N of Target"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:08:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-sort-listed-data/m-p/153698#M43157</guid>
      <dc:creator>PPape</dc:creator>
      <dc:date>2020-09-28T17:08:54Z</dc:date>
    </item>
  </channel>
</rss>

