<?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 know the host occurrences with exception_message from server log? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-know-the-host-occurrences-with-exception-message-from/m-p/204234#M59345</link>
    <description>&lt;P&gt;Based on your table above I'm assuming this is what you are trying to do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearch | stats count by host, message
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if that works for you. If not, could you post an example of your events?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
J&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jan 2016 17:32:04 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-01-01T17:32:04Z</dc:date>
    <item>
      <title>How to know the host occurrences with exception_message from server log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-know-the-host-occurrences-with-exception-message-from/m-p/204233#M59344</link>
      <description>&lt;P&gt;I have server logs with different &lt;CODE&gt;host&lt;/CODE&gt; names. Each of the &lt;CODE&gt;host&lt;/CODE&gt; has its distinct &lt;CODE&gt;exception _message&lt;/CODE&gt;. I want to show that into table how many times a specific &lt;CODE&gt;host&lt;/CODE&gt; has occurred in the server log.&lt;/P&gt;

&lt;P&gt;example&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Host                     Host Count                                    message
----------------------------------------------------------------------------------------
server1                  45                                      server1_exception
server2                  6                                       server2_exception
server3                  4                                       server3_exception
server4                  20                                      server4_exception 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 01 Jan 2016 14:30:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-know-the-host-occurrences-with-exception-message-from/m-p/204233#M59344</guid>
      <dc:creator>anirban_nag</dc:creator>
      <dc:date>2016-01-01T14:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to know the host occurrences with exception_message from server log?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-know-the-host-occurrences-with-exception-message-from/m-p/204234#M59345</link>
      <description>&lt;P&gt;Based on your table above I'm assuming this is what you are trying to do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;yoursearch | stats count by host, message
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if that works for you. If not, could you post an example of your events?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
J&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jan 2016 17:32:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-know-the-host-occurrences-with-exception-message-from/m-p/204234#M59345</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-01-01T17:32:04Z</dc:date>
    </item>
  </channel>
</rss>

