<?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: Splunk search for field values in multiple sources in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-for-field-values-in-multiple-sources/m-p/530274#M149825</link>
    <description>&lt;LI-CODE lang="markup"&gt;sourcetype="A" OR sourcetype="B"
| eval sourcetypeA=if(sourcetype="A",sourcetype,null)
| eval sourcetypeB=if(sourcetype="B",sourcetype,null)
| stats values(sourcetypeA) as sourcetypeA values(sourcetypeB) as sourcetypeB by login
| where sourcetypeA="A" and isnull(sourcetypeB)
| stats count&lt;/LI-CODE&gt;</description>
    <pubDate>Fri, 20 Nov 2020 22:12:08 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2020-11-20T22:12:08Z</dc:date>
    <item>
      <title>Splunk search for field values in multiple sources</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-for-field-values-in-multiple-sources/m-p/530266#M149822</link>
      <description>&lt;P&gt;There are two sourcetypes ,&lt;/P&gt;
&lt;P&gt;sourcetype=A&amp;nbsp;&amp;nbsp;sourcetype=B&amp;nbsp; and we have extracted a field "login" in both sourcetypes&lt;/P&gt;
&lt;P&gt;1. we need to have a "count"&amp;nbsp; of the login values which are available in sourcetype=A but not in sourcetype=B&lt;/P&gt;
&lt;P&gt;2. we need to have a "list of values"&amp;nbsp; of the login values which are available in sourcetype=A but not in sourcetype=B&lt;/P&gt;
&lt;P&gt;3. Any Graph that we can show the these many "login" are missing in compare with sourcetypes using timechart? - any suggestions?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2020 07:09:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-for-field-values-in-multiple-sources/m-p/530266#M149822</guid>
      <dc:creator>infotork</dc:creator>
      <dc:date>2020-11-21T07:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk search for field values in multiple sources</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-search-for-field-values-in-multiple-sources/m-p/530274#M149825</link>
      <description>&lt;LI-CODE lang="markup"&gt;sourcetype="A" OR sourcetype="B"
| eval sourcetypeA=if(sourcetype="A",sourcetype,null)
| eval sourcetypeB=if(sourcetype="B",sourcetype,null)
| stats values(sourcetypeA) as sourcetypeA values(sourcetypeB) as sourcetypeB by login
| where sourcetypeA="A" and isnull(sourcetypeB)
| stats count&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 20 Nov 2020 22:12:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-search-for-field-values-in-multiple-sources/m-p/530274#M149825</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-11-20T22:12:08Z</dc:date>
    </item>
  </channel>
</rss>

