<?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 Splunk query on lookups in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-on-lookups/m-p/578343#M201554</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually i made&amp;nbsp; lookup with the list of ip address in .csv file. I want to write a query if there is traffic from the ip address which i had given in the lookups.&lt;/P&gt;&lt;P&gt;Please help me woth the query. i have the Web datamodel as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Umesh Chandra Reddy&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Dec 2021 15:43:10 GMT</pubDate>
    <dc:creator>umeshcreddy</dc:creator>
    <dc:date>2021-12-14T15:43:10Z</dc:date>
    <item>
      <title>Splunk query on lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-on-lookups/m-p/578343#M201554</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually i made&amp;nbsp; lookup with the list of ip address in .csv file. I want to write a query if there is traffic from the ip address which i had given in the lookups.&lt;/P&gt;&lt;P&gt;Please help me woth the query. i have the Web datamodel as well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Umesh Chandra Reddy&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 15:43:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-on-lookups/m-p/578343#M201554</guid>
      <dc:creator>umeshcreddy</dc:creator>
      <dc:date>2021-12-14T15:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk query on lookups</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-query-on-lookups/m-p/578358#M201558</link>
      <description>&lt;P&gt;You don't say where the traffic analysis comes from ... Any index, source, sourcetype ?&lt;/P&gt;&lt;P&gt;Do you want to analyze the activity toward the Splunk Web server itself ? If so, you would start looking in&lt;/P&gt;&lt;PRE&gt;index=_internal&amp;nbsp; source=splunkd_access.log sourcetype=splunkd_ui_access clientip=*&lt;/PRE&gt;&lt;P&gt;Here the clientip is the field that tells you about the incoming connection.&lt;/P&gt;&lt;P&gt;If you want to compare it with the lookup you can then add this :&lt;/P&gt;&lt;PRE&gt;... | LOOKUP &amp;lt;lookup.csv/lookup definition&amp;gt; clientip OUTPUTNEW clientip AS knownIP&lt;/PRE&gt;&lt;P&gt;If the ip address is in the csv, then it will be shown in the knownIP field.&lt;/P&gt;&lt;P&gt;If it is unknown, the knownIP field will be inexistent.&lt;/P&gt;&lt;P&gt;After what you can filter the results based on the existence of that knownIP field, with:&lt;/P&gt;&lt;P&gt;| where isnull(knownIP)&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;| where isnotnull(knownIP)&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 17:47:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-query-on-lookups/m-p/578358#M201558</guid>
      <dc:creator>ldongradi_SPL</dc:creator>
      <dc:date>2021-12-14T17:47:27Z</dc:date>
    </item>
  </channel>
</rss>

