<?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: Merge two searches that use two different sourcetypes? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-searches-that-use-two-different-sourcetypes/m-p/429968#M122940</link>
    <description>&lt;P&gt;Rich - I would like the results to be:  _time, owner, dns, Risk, Name, signature_id, severity_id, plugin_Count, Solution, "See Also".  Then from the dashboard the sysadmin can select the owner and sort just on their asset findings.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:37:30 GMT</pubDate>
    <dc:creator>bewald_cfi</dc:creator>
    <dc:date>2020-09-29T23:37:30Z</dc:date>
    <item>
      <title>Merge two searches that use two different sourcetypes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-searches-that-use-two-different-sourcetypes/m-p/429966#M122938</link>
      <description>&lt;P&gt;I have two searches from two different sourcetypes.  Search #1 is currently in a dashboard with a dropdown selection.  I would like to merge both searches into one and still utilize the dropdown selection.  Is this possible?&lt;/P&gt;

&lt;P&gt;Search #1&lt;BR /&gt;
sourcetype=Signature host="my_scanner"&lt;BR /&gt;&lt;BR /&gt;
| rename extracted_system AS dns&lt;BR /&gt;
| join dns [ | inputlookup computers.csv Where owner="*"] &lt;BR /&gt;
| table _time, owner, dns, Risk, Name, CVE, Solution, "See Also"&lt;BR /&gt;
| rename dns AS Host&lt;/P&gt;

&lt;P&gt;Search #2&lt;BR /&gt;
sourcetype=scans &lt;BR /&gt;
| rename dest_ip TO dns &lt;BR /&gt;
| search severity_id&amp;gt;0 &lt;BR /&gt;
| stats count AS plugin_Count BY dns, signature_id, severity_id &lt;BR /&gt;
| search plugin_Count&amp;gt;1 &lt;BR /&gt;
| lookup computers.csv ip AS dns OUTPUT nt_host AS hostname, owner AS sysadmin &lt;BR /&gt;
| sort severity_id, sysadmin, hostname &lt;BR /&gt;
| table sysadmin, hostname, dns, signature_id, severity_id, plugin_Count&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:37:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-searches-that-use-two-different-sourcetypes/m-p/429966#M122938</guid>
      <dc:creator>bewald_cfi</dc:creator>
      <dc:date>2020-09-29T23:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two searches that use two different sourcetypes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-searches-that-use-two-different-sourcetypes/m-p/429967#M122939</link>
      <description>&lt;P&gt;What do you want the combined search to generate as output?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 21:06:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-searches-that-use-two-different-sourcetypes/m-p/429967#M122939</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-03-12T21:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Merge two searches that use two different sourcetypes?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Merge-two-searches-that-use-two-different-sourcetypes/m-p/429968#M122940</link>
      <description>&lt;P&gt;Rich - I would like the results to be:  _time, owner, dns, Risk, Name, signature_id, severity_id, plugin_Count, Solution, "See Also".  Then from the dashboard the sysadmin can select the owner and sort just on their asset findings.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:37:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Merge-two-searches-that-use-two-different-sourcetypes/m-p/429968#M122940</guid>
      <dc:creator>bewald_cfi</dc:creator>
      <dc:date>2020-09-29T23:37:30Z</dc:date>
    </item>
  </channel>
</rss>

