<?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: Identify missing servers in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671284#M230063</link>
    <description>&lt;P&gt;This is the point where you show the search(es) you ran, their results, and tell how those results miss expectations.&amp;nbsp; Does the lookup file contain data that can be used to search the index?&amp;nbsp; If not, can it be modified or can the search modify a lookup field into something that's in the index?&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2023 17:52:06 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2023-12-08T17:52:06Z</dc:date>
    <item>
      <title>Identify missing servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671266#M230053</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have two datasets for example –&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1.Index=abc host=def_inven, consider as Dataset A (inventory with 100 servers) and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2.lookup = something, consider as Dataset B (monitored in Splunk with 80 servers).&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I identify the 20 servers missing ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 14:49:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671266#M230053</guid>
      <dc:creator>Muthu_Vinith</dc:creator>
      <dc:date>2023-12-08T14:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Identify missing servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671268#M230054</link>
      <description>&lt;P&gt;Use a subsearch to exclude the lookup file from the index results.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc host=def_inven NOT [ | inputlookup something | fields &amp;lt;a field from the lookup that identifies a server&amp;gt; | rename &amp;lt;field&amp;gt; as &amp;lt;some field name in Dataset A&amp;gt; ]&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 08 Dec 2023 14:52:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671268#M230054</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-08T14:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Identify missing servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671282#M230062</link>
      <description>&lt;P&gt;I tried this method, but unfortunately i couldn't get exact results. It's showing only index data. Is there any different method instead of append can we use join command? Can you suggest different logic&amp;nbsp;&lt;BR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 17:18:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671282#M230062</guid>
      <dc:creator>Muthu_Vinith</dc:creator>
      <dc:date>2023-12-08T17:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Identify missing servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671284#M230063</link>
      <description>&lt;P&gt;This is the point where you show the search(es) you ran, their results, and tell how those results miss expectations.&amp;nbsp; Does the lookup file contain data that can be used to search the index?&amp;nbsp; If not, can it be modified or can the search modify a lookup field into something that's in the index?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 17:52:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671284#M230063</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-08T17:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: Identify missing servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671312#M230068</link>
      <description>&lt;P&gt;No, in lookup file there are few servers which are monitored, but also in index &amp;nbsp;some servers which is monitored but I need to find which is not monitored.&lt;/P&gt;&lt;P&gt;Is it possible to try something like this for example:&lt;/P&gt;&lt;P&gt;index=abc host=def_inven&lt;/P&gt;&lt;P&gt;•if it is in inventory flag it&amp;nbsp;&lt;/P&gt;&lt;P&gt;flag inven= something&amp;nbsp;&lt;/P&gt;&lt;P&gt;join&amp;nbsp;&lt;/P&gt;&lt;P&gt;lookup &amp;lt;&amp;gt;&lt;BR /&gt;flag &amp;nbsp;splunk=something&lt;/P&gt;&lt;P&gt;so we can use |stats values by flag&lt;BR /&gt;Whether this logic is correct? If it is ok give a exact query or suggest me something different query &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 20:15:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671312#M230068</guid>
      <dc:creator>Muthu_Vinith</dc:creator>
      <dc:date>2023-12-08T20:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Identify missing servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671314#M230070</link>
      <description>&lt;P&gt;The first query I gave you should have worked, but the logic you just suggested should work, too.&amp;nbsp; This query marks servers from the index as "indexed" and those from the lookup file as "lookup".&amp;nbsp; After combining the results by server name, it keeps only the servers found in the index.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc host=def_inven
| eval inven="indexed"
| append [ | inputlookup mylookup.csv
  | eval inven="lookup"
]
| stats values(*) as * by server
| where (mvcount(inven)=1 AND isnotnull(mvfind(inven,"indexed")))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 20:23:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671314#M230070</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-08T20:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Identify missing servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671341#M230079</link>
      <description>&lt;P&gt;It Works, Thank You&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2023 07:11:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671341#M230079</guid>
      <dc:creator>Muthu_Vinith</dc:creator>
      <dc:date>2023-12-09T07:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Identify missing servers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671362#M230090</link>
      <description>&lt;P&gt;If your problem is resolved, then please click the "Accept as Solution" button to help future readers.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Dec 2023 13:20:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Identify-missing-servers/m-p/671362#M230090</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-12-09T13:20:43Z</dc:date>
    </item>
  </channel>
</rss>

