<?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: Search a two messages from 6 hosts and show top 6 results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561165#M159503</link>
    <description>&lt;P&gt;it updated and resoled&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jul 2021 09:41:06 GMT</pubDate>
    <dc:creator>sandeepparcha44</dc:creator>
    <dc:date>2021-07-28T09:41:06Z</dc:date>
    <item>
      <title>Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/560699#M159364</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am trying to search two strings in message like "Stopped successfully" and "connected" from 6 host names.&lt;/P&gt;&lt;P&gt;Please help me&lt;/P&gt;&lt;P&gt;am writing like below&lt;/P&gt;&lt;P&gt;Source="WinEventlog:applicaiton"&lt;/P&gt;&lt;P&gt;|rex "message\s(?&amp;lt;message&amp;gt;.*).*"&lt;/P&gt;&lt;P&gt;|search host like "host1" OR host Like "host2"&lt;/P&gt;&lt;P&gt;| search message="stopped succesfully" OR "Connected"&lt;/P&gt;&lt;P&gt;|table _time, host, message&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jul 2021 06:20:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/560699#M159364</guid>
      <dc:creator>sandeepparcha44</dc:creator>
      <dc:date>2021-07-25T06:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/560700#M159365</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236790"&gt;@sandeepparcha44&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try like this,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Source="WinEventlog:applicaiton" (host="host1*" OR host="host2*") (message="*stopped succesfully*" OR message="*Connected*")
| rex field=_raw "message\s(?&amp;lt;message1&amp;gt;.*).*" 
|table _time, host, message, message1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KV&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:35:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/560700#M159365</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-07-28T09:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561161#M159499</link>
      <description>&lt;P&gt;Thank you Kamalesh, its working for Hosts.&lt;/P&gt;&lt;P&gt;but am not getting "message"&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:31:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561161#M159499</guid>
      <dc:creator>sandeepparcha44</dc:creator>
      <dc:date>2021-07-28T09:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561162#M159500</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236790"&gt;@sandeepparcha44&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have updated my answer. Can you please try it?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:35:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561162#M159500</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-07-28T09:35:43Z</dc:date>
    </item>
    <item>
      <title>Re: Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561163#M159501</link>
      <description>&lt;P&gt;Are you spelling application wrong&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;WinEventlog:applicaiton&lt;/LI-CODE&gt;&lt;P&gt;should be&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;WinEventlog:application&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:39:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561163#M159501</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2021-07-28T09:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561164#M159502</link>
      <description>&lt;P&gt;Still same,&lt;/P&gt;&lt;P&gt;sample message in the log willbe like below&lt;/P&gt;&lt;P&gt;Message=Event : _*protocol* Name&amp;nbsp; : tcp://servername:port&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:40:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561164#M159502</guid>
      <dc:creator>sandeepparcha44</dc:creator>
      <dc:date>2021-07-28T09:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561165#M159503</link>
      <description>&lt;P&gt;it updated and resoled&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:41:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561165#M159503</guid>
      <dc:creator>sandeepparcha44</dc:creator>
      <dc:date>2021-07-28T09:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561166#M159504</link>
      <description>&lt;P&gt;Still same,&lt;/P&gt;&lt;P&gt;sample message in the log will be like below&lt;/P&gt;&lt;P&gt;Message=Event : _*protocol* Name&amp;nbsp; : tcp://servername:port&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:42:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561166#M159504</guid>
      <dc:creator>sandeepparcha44</dc:creator>
      <dc:date>2021-07-28T09:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561170#M159507</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/236790"&gt;@sandeepparcha44&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Source="WinEventlog:applicaiton" (host="host1*" OR host="host2*") (message="*stopped succesfully*" OR message="*Connected*")
| rex field=_raw "Message=(?&amp;lt;message1&amp;gt;.*).*"
|table _time, host, message, message1&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561170#M159507</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-07-28T09:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Search a two messages from 6 hosts and show top 6 results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561171#M159508</link>
      <description>&lt;P&gt;it worked , but i have to add&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Message=Event*(?&amp;lt;message1&amp;gt;.*).*&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you..&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 09:53:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-a-two-messages-from-6-hosts-and-show-top-6-results/m-p/561171#M159508</guid>
      <dc:creator>sandeepparcha44</dc:creator>
      <dc:date>2021-07-28T09:53:43Z</dc:date>
    </item>
  </channel>
</rss>

