<?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 list of servers from a text file in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-list-of-servers-from-a-text-file/m-p/597140#M207882</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/37446"&gt;@supersnedz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;why cannot you upload a file? can you access the Lookup Editor App?&lt;/P&gt;&lt;P&gt;Anyway, even if you cannot upload a file, are you able to create a lookup?&lt;/P&gt;&lt;P&gt;you could manually add your host list to the lookup.&lt;/P&gt;&lt;P&gt;tha choice you could run a search like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your index NOT host IN (server1, server2, server3)&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 10:55:31 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-05-10T10:55:31Z</dc:date>
    <item>
      <title>How to search a list of servers from a text file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-list-of-servers-from-a-text-file/m-p/597139#M207881</link>
      <description>&lt;P&gt;Hello, I have been given a list of 40 servers in a text file, all servers are separated by commas for example:&lt;/P&gt;
&lt;P&gt;server1, server2, server3 etc&lt;/P&gt;
&lt;P&gt;I cant upload the text file to splunk and compare the data that way, so is there a way in the search field i can just list all the servers and search my index? I know i can do OR between each one but im sure there is a quicker way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Allan&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 14:15:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-list-of-servers-from-a-text-file/m-p/597139#M207881</guid>
      <dc:creator>supersnedz</dc:creator>
      <dc:date>2022-05-10T14:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: search a list of servers from a text file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-list-of-servers-from-a-text-file/m-p/597140#M207882</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/37446"&gt;@supersnedz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;why cannot you upload a file? can you access the Lookup Editor App?&lt;/P&gt;&lt;P&gt;Anyway, even if you cannot upload a file, are you able to create a lookup?&lt;/P&gt;&lt;P&gt;you could manually add your host list to the lookup.&lt;/P&gt;&lt;P&gt;tha choice you could run a search like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your index NOT host IN (server1, server2, server3)&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 10:55:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-list-of-servers-from-a-text-file/m-p/597140#M207882</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-10T10:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: search a list of servers from a text file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-list-of-servers-from-a-text-file/m-p/597141#M207883</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Giuseppe,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for the response. Our splunk is run by a team in another country, and they dont allow local entities to upload any files to splunk, which is highly annoying.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for the query, this is working perfectly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Allan&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 11:00:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-list-of-servers-from-a-text-file/m-p/597141#M207883</guid>
      <dc:creator>supersnedz</dc:creator>
      <dc:date>2022-05-10T11:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: search a list of servers from a text file</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-list-of-servers-from-a-text-file/m-p/597155#M207892</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/37446"&gt;@supersnedz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time.&lt;/P&gt;&lt;P&gt;Please if my answer solves your need, please accept it for the other people of Community.&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 by all the Contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 12:07:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-a-list-of-servers-from-a-text-file/m-p/597155#M207892</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-10T12:07:16Z</dc:date>
    </item>
  </channel>
</rss>

