<?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: Error inputlookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/665958#M228471</link>
    <description>&lt;P&gt;I did , but no solution receive , Can u help me pls :&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Error-Search/m-p/665820#M228449" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Error-Search/m-p/665820#M228449&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Oct 2023 03:44:54 GMT</pubDate>
    <dc:creator>abazgwa21cz</dc:creator>
    <dc:date>2023-10-24T03:44:54Z</dc:date>
    <item>
      <title>How to fix Error inputlookup?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628951#M218472</link>
      <description>&lt;P&gt;I have an issues with lookup, i create a table&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abazgwa21cz_0-1675150049307.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23630iC37D14B4EB624629/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abazgwa21cz_0-1675150049307.png" alt="abazgwa21cz_0-1675150049307.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I want to exclude path in lookup table from my search, so i try this query :&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="kaspersky" AND etdn="Object not disinfected" p2 NOT ([ inputlookup FP_malware.csv]) | eval time=strftime(_time,"%Y-%m-%d %H:%M:%S")|stats count by time hip hdn etdn p2 | dedup p2&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abazgwa21cz_1-1675150128071.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/23631i513E3887CA36801B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abazgwa21cz_1-1675150128071.png" alt="abazgwa21cz_1-1675150128071.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;it seems not working . So how can i fix this ?????&lt;BR /&gt;Many thanks !!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 17:13:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628951#M218472</guid>
      <dc:creator>abazgwa21cz</dc:creator>
      <dc:date>2023-01-31T17:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error inputlookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628953#M218473</link>
      <description>&lt;P&gt;Your basic problem is that your lookup is&lt;/P&gt;&lt;P&gt;FP_&lt;FONT color="#FF0000"&gt;M&lt;/FONT&gt;alware.csv&amp;nbsp;&lt;/P&gt;&lt;P&gt;and your lookup in the search is&lt;/P&gt;&lt;P&gt;FP_&lt;FONT color="#FF0000"&gt;m&lt;/FONT&gt;alware.csv&amp;nbsp;&lt;/P&gt;&lt;P&gt;upper/lower case.&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, you do not need&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;p2 NOT ...&lt;/LI-CODE&gt;&lt;P&gt;Just use&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NOT [ | inputlookup ... ]&lt;/LI-CODE&gt;&lt;P&gt;The response coming back from the subsearch will be p2=x OR p2=y OR p2=z&lt;/P&gt;&lt;P&gt;You can see the format of the subsearch response by doing&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup FP_malware.csv | format ]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 07:54:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628953#M218473</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-01-31T07:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error inputlookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628954#M218474</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252410"&gt;@abazgwa21cz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;subsearches require that you explicit the fields to use as kay, and they must be the same of the main search.&lt;/P&gt;&lt;P&gt;In other words, if lookup_path is the path in the lookup and path is the field in the search,&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="kaspersky" AND etdn="Object not disinfected" p2 NOT [ | inputlookup FP_malware.csv | rename lookup_path AS path | fields path ] 
| eval time=strftime(_time,"%Y-%m-%d %H:%M:%S")
| stats count BY time hip hdn etdn p2 
| dedup p2
&lt;/LI-CODE&gt;&lt;P&gt;then the pipe before the inputlookup command is missing.&lt;/P&gt;&lt;P&gt;At least, in the stats command, why did you use many fields in the BY clause and then dedup, why don't you used directly only p2 in the BY clause.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 07:54:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628954#M218474</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-31T07:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Error inputlookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628955#M218475</link>
      <description>&lt;P&gt;my mistake . thanks alot it work now&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 08:05:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628955#M218475</guid>
      <dc:creator>abazgwa21cz</dc:creator>
      <dc:date>2023-01-31T08:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error inputlookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628968#M218477</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252410"&gt;@abazgwa21cz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&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, 31 Jan 2023 10:52:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/628968#M218477</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-31T10:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error inputlookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/665822#M228450</link>
      <description>&lt;P&gt;Thanks alot , i have one more questions ,&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I just install misp42 app in my splunk , and add misp instance to splunk , it work&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abazgwa21cz_0-1698050821170.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/27696iEBC6A34B0668DF57/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abazgwa21cz_0-1698050821170.png" alt="abazgwa21cz_0-1698050821170.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i want compare from :&amp;nbsp;index=firewall srcip=10.x.x.x , it my log from firewall , so i want compare dstip with ip-dst from misp&amp;nbsp;to detect unusual access activities&amp;nbsp; , like when dstip=ip-dst :&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;152.67.251.30&amp;nbsp;&lt;/SPAN&gt;, how can i search this&amp;nbsp; ,&amp;nbsp;misp_instance=IP_Block field=value , i just try some search but it not work:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=firewall srcip=10.x.x.x 
| mispsearch misp_instance=IP_Block field=value
| search dstip=ip=dst
| table _time dstip ip-dst value action&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;It can't get ip-dst from misp instance ,&lt;BR /&gt;&lt;BR /&gt;Can you help me with this OR can i get some solution to resolve this&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Many thanks and&amp;nbsp;Best regards !!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 14:04:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/665822#M228450</guid>
      <dc:creator>abazgwa21cz</dc:creator>
      <dc:date>2023-10-23T14:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error inputlookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/665842#M228455</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/252410"&gt;@abazgwa21cz&lt;/a&gt;&amp;nbsp;For a new question, please ask it in a new topic, so that any answers relate to the new question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 12:35:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/665842#M228455</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-10-23T12:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Error inputlookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/665958#M228471</link>
      <description>&lt;P&gt;I did , but no solution receive , Can u help me pls :&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Search/Error-Search/m-p/665820#M228449" target="_blank"&gt;https://community.splunk.com/t5/Splunk-Search/Error-Search/m-p/665820#M228449&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2023 03:44:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-fix-Error-inputlookup/m-p/665958#M228471</guid>
      <dc:creator>abazgwa21cz</dc:creator>
      <dc:date>2023-10-24T03:44:54Z</dc:date>
    </item>
  </channel>
</rss>

