<?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: Assistance with Lookup / Search Query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516413#M145114</link>
    <description>&lt;P&gt;You are using the lookup as a filter to the outer search. If you want to add fields to the data reported, then you use the lookup as a lookup, i.e.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| lookup riskiq_last_status name as url OUTPUT status&lt;/LI-CODE&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2020 01:29:03 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2020-08-27T01:29:03Z</dc:date>
    <item>
      <title>Assistance with Lookup / Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516382#M145101</link>
      <description>&lt;P&gt;I am trying to run a query where it compares a search result field against a field in the lookup table. I was able to get it working, but then I am trying to also show the corresponding field with that object that is located in the lookup table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what I have so far&lt;/P&gt;&lt;P&gt;index=zscaler sourcetype="zscaler:syslog:zscaler_web_policy"&lt;BR /&gt;[| inputlookup "riskiq_last_status"&lt;BR /&gt;| return 1000 $name]&lt;BR /&gt;|table url status&lt;/P&gt;&lt;P&gt;It is just matching the name field in the lookup table to the url field in the index search query. I am guessing the status field is blank because there isnt a status field in the index search results....&lt;/P&gt;&lt;P&gt;How do I add a a field in the lookup table to the search query results?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 20:26:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516382#M145101</guid>
      <dc:creator>CyberCyberSec</dc:creator>
      <dc:date>2020-08-26T20:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Lookup / Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516413#M145114</link>
      <description>&lt;P&gt;You are using the lookup as a filter to the outer search. If you want to add fields to the data reported, then you use the lookup as a lookup, i.e.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| lookup riskiq_last_status name as url OUTPUT status&lt;/LI-CODE&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 01:29:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516413#M145114</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-08-27T01:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Lookup / Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516498#M145171</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried that and I still get nothing in the status, the only thing I can think of is that the data in the url field doesnt exactly match what is in the lookup table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lookup table value = carecredit.citymaps.com&lt;/P&gt;&lt;P&gt;Search field value = carecredit.citymaps.com/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do a contains lookup instead of a exact match?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 12:19:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516498#M145171</guid>
      <dc:creator>CyberCyberSec</dc:creator>
      <dc:date>2020-08-27T12:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Lookup / Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516499#M145172</link>
      <description>&lt;P&gt;I did a eval and trimmed the / at the end before it did the lookup function and it returns the monitor now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is now how can I do a wildcard lookup because this is doing a exact lookup on the status field.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 12:24:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516499#M145172</guid>
      <dc:creator>CyberCyberSec</dc:creator>
      <dc:date>2020-08-27T12:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: Assistance with Lookup / Search Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516609#M145204</link>
      <description>&lt;P&gt;You can add the * character to the value of the field in the lookup file and in the advanced options part of the&amp;nbsp; lookup definition for that lookup, make that field a wildcard field in the match type, e.g. WILDCARD(name)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 22:58:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Assistance-with-Lookup-Search-Query/m-p/516609#M145204</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-08-27T22:58:21Z</dc:date>
    </item>
  </channel>
</rss>

