<?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 merge two Splunk Queries ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/594649#M206973</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231835"&gt;@nilbak88&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Apr 2022 12:04:18 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-04-21T12:04:18Z</dc:date>
    <item>
      <title>How to merge two Splunk queries ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/593889#M206715</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I need help with&amp;nbsp; Splunk Query for below scenario:&lt;/P&gt;
&lt;P&gt;Query 1:&lt;BR /&gt;index =abc | table src, dest_name, severity, action&lt;/P&gt;
&lt;P&gt;If it finds dest_name for any high and critical severity, it will look for &lt;STRONG&gt;computerdnsname&lt;/STRONG&gt; in index &lt;STRONG&gt;xyz&lt;/STRONG&gt; and there if it matches, it will display the result&lt;/P&gt;
&lt;P&gt;Query 2:&lt;/P&gt;
&lt;P&gt;index=xyz&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 14:24:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/593889#M206715</guid>
      <dc:creator>nilbak88</dc:creator>
      <dc:date>2022-04-21T14:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge two Splunk Queries ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/593894#M206717</link>
      <description>&lt;P&gt;How to merge the queries depends on what results you want displayed.&amp;nbsp; Please tell us more about that.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 13:21:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/593894#M206717</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-04-15T13:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge two Splunk Queries ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/593908#M206720</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231835"&gt;@nilbak88&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;said it's difficoult to help you with these few informations, so anyway I try to suppose your need:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Query 1:
(index =abc (severity=high OR severity=critical)) OR index=xyz 
| eval dest_name=coalesce(dest_name,computerdnsname)
| stats values(src) AS src values(severity) AS severity values(action) AS action dc(index) AS dc_index BY dest_name
| where dc_index=2
| table dest_name src severity action&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 15:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/593908#M206720</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-15T15:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge two Splunk Queries ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/594649#M206973</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231835"&gt;@nilbak88&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 12:04:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/594649#M206973</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-21T12:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge two Splunk Queries ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/594651#M206974</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;BR /&gt;That's what i was looking for.&lt;BR /&gt;However, i will get back to you on this again if needed more help&lt;/P&gt;</description>
      <pubDate>Thu, 21 Apr 2022 12:05:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-merge-two-Splunk-queries/m-p/594651#M206974</guid>
      <dc:creator>nilbak88</dc:creator>
      <dc:date>2022-04-21T12:05:23Z</dc:date>
    </item>
  </channel>
</rss>

