<?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 How to add another field using top limit command? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-another-field-using-top-limit-command/m-p/657826#M227213</link>
    <description>&lt;P&gt;Hello! I need some help from splunkers!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the search index=notable | search status_label=Closed | top limit=5 rule_title in the Splunk Enterprise Security, to list top 10 rule_title values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i need to bring the field "comment" of each rule_title in the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tks!!!&lt;/P&gt;</description>
    <pubDate>Sun, 17 Sep 2023 19:26:54 GMT</pubDate>
    <dc:creator>grotti</dc:creator>
    <dc:date>2023-09-17T19:26:54Z</dc:date>
    <item>
      <title>How to add another field using top limit command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-another-field-using-top-limit-command/m-p/657826#M227213</link>
      <description>&lt;P&gt;Hello! I need some help from splunkers!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using the search index=notable | search status_label=Closed | top limit=5 rule_title in the Splunk Enterprise Security, to list top 10 rule_title values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i need to bring the field "comment" of each rule_title in the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tks!!!&lt;/P&gt;</description>
      <pubDate>Sun, 17 Sep 2023 19:26:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-another-field-using-top-limit-command/m-p/657826#M227213</guid>
      <dc:creator>grotti</dc:creator>
      <dc:date>2023-09-17T19:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to add another field using top limit command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-another-field-using-top-limit-command/m-p/657829#M227214</link>
      <description>&lt;P&gt;If the comment field is always the same for the rule, then just add the comment to the top command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=notable 
| search status_label=Closed 
| top limit=5 rule_title comment&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 17 Sep 2023 23:48:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-another-field-using-top-limit-command/m-p/657829#M227214</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-09-17T23:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to add another field using top limit command?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-add-another-field-using-top-limit-command/m-p/657845#M227224</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/259627"&gt;@grotti&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;if you haven't too many comments for each row, you could use:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=notable status_label=Closed 
| stats values(comment) AS comment BY rule_title
| sort 10 -count&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 06:25:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-add-another-field-using-top-limit-command/m-p/657845#M227224</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-09-18T06:25:36Z</dc:date>
    </item>
  </channel>
</rss>

