<?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: Can tables be used with top to display  additional event fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541421#M153287</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/47676"&gt;@kelie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Your final query is not much different than mine, since you do not use UID it is better to remove it as an optimization. Below should give the same result;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved 
| stats values(process_name) as Process values(observed_filename) as Filename count as Hits BY md5 
| sort 10 -Hits 
| rename md5 as "MD5 Hash"&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 25 Feb 2021 20:39:12 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-02-25T20:39:12Z</dc:date>
    <item>
      <title>Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541283#M153247</link>
      <description>&lt;P&gt;Goal is to return a table that displays the Top 10&amp;nbsp; (md5) hashes in&amp;nbsp; recorded alerts received over a 60 days period.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So base search is :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved|top limit=10 md5 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but for each returned result, id like to also show its filename and process_name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved |table md5 process_name observed_filename&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 00:14:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541283#M153247</guid>
      <dc:creator>kelie</dc:creator>
      <dc:date>2021-02-25T00:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541287#M153249</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;top&lt;/FONT&gt; command discards all fields except the ones in its arguments.&amp;nbsp; Try using &lt;FONT face="courier new,courier"&gt;sort&lt;/FONT&gt;, instead.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved 
| sort 10 - md5
| table md5 process_name observed_filename&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Feb 2021 01:33:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541287#M153249</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-02-25T01:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541297#M153253</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/47676"&gt;@kelie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You can try with stats to see the details of hashes;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved 
|stats count values(process_name) as process_name values(observed_filename) as observed_filename by md5
| sort 10 - md5 &lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Feb 2021 04:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541297#M153253</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-02-25T04:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541304#M153254</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved 
|stats count values(process_name) as process_name values(observed_filename) as observed_filename by md5
| sort 10 - md5 &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I wouldnt be able to rely on the above as the events do not always have a process_name or observed_name.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 05:58:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541304#M153254</guid>
      <dc:creator>kelie</dc:creator>
      <dc:date>2021-02-25T05:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541305#M153255</link>
      <description>&lt;P&gt;&amp;nbsp;i have to include a top or even a count as i need the top 10 number of events by md5. the additional fields provide context for what the software is&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 06:02:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541305#M153255</guid>
      <dc:creator>kelie</dc:creator>
      <dc:date>2021-02-25T06:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541307#M153256</link>
      <description>&lt;P&gt;Missing process_name or observed_filename fields does not effect the stats since they are not in group by side. They will be listed if any.&amp;nbsp;&lt;/P&gt;&lt;P&gt;That search will show top 10 count for md5 field and available extra fields if any.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 06:07:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541307#M153256</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-02-25T06:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541336#M153266</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;sort 10&lt;/FONT&gt; command is the same as &lt;FONT face="courier new,courier"&gt;top 10&lt;/FONT&gt;, but doesn't throw away fields.&amp;nbsp; Try it.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 13:44:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541336#M153266</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-02-25T13:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541373#M153274</link>
      <description>&lt;P&gt;my base search with a top limit yields very different results see below&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kelie_0-1614268014712.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13072i5E42CC37A1AF0AFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kelie_0-1614268014712.png" alt="kelie_0-1614268014712.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;vs&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved 
| sort 10 - md5
| table md5 process_name observed_filename&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kelie_1-1614268211013.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13073i0DB10DCFC753D405/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kelie_1-1614268211013.png" alt="kelie_1-1614268211013.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;vs&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved 
|stats count values(process_name) as process_name values(observed_filename) as observed_filename by md5
| sort 10 - md5 &lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kelie_2-1614268301897.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/13074i5D2B1B6242EDB2B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kelie_2-1614268301897.png" alt="kelie_2-1614268301897.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 15:51:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541373#M153274</guid>
      <dc:creator>kelie</dc:creator>
      <dc:date>2021-02-25T15:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541394#M153280</link>
      <description>&lt;P&gt;with some tweaking i produced this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved 
|stats dc(unique_id) as UID count values(process_name) as Process values(observed_filename) as Filename BY md5 |sort 10 -count|fields md5 Process Filename count |rename md5 as "MD5 Hash" count as "Hits"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;im still new to splunk so critique as needed if not optimized. This query though does line up with the fields i needed and seems to align with a base + top limit search&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 17:46:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541394#M153280</guid>
      <dc:creator>kelie</dc:creator>
      <dc:date>2021-02-25T17:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can tables be used with top to display  additional event fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541421#M153287</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/47676"&gt;@kelie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Your final query is not much different than mine, since you do not use UID it is better to remove it as an optimization. Below should give the same result;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=cb eventtype=bit9_carbonblack_alert status=Resolved 
| stats values(process_name) as Process values(observed_filename) as Filename count as Hits BY md5 
| sort 10 -Hits 
| rename md5 as "MD5 Hash"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 25 Feb 2021 20:39:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-tables-be-used-with-top-to-display-additional-event-fields/m-p/541421#M153287</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-02-25T20:39:12Z</dc:date>
    </item>
  </channel>
</rss>

