<?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: Appending Lookup Match to Search Results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Appending-Lookup-Match-to-Search-Results/m-p/497218#M138504</link>
    <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Knowledge/Usefieldlookupstoaddinformationtoyourevents"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Knowledge/Usefieldlookupstoaddinformationtoyourevents&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 17:44:23 GMT</pubDate>
    <dc:creator>starcher</dc:creator>
    <dc:date>2020-01-28T17:44:23Z</dc:date>
    <item>
      <title>Appending Lookup Match to Search Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Appending-Lookup-Match-to-Search-Results/m-p/497216#M138502</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I have a search that filters results based on a lookup file. Is there a simple way that I can add the match from the lookup file to the table/results?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=web[| inputlookup HighRiskWords.csv | eval HighRiskWords="*"+HighRiskWords+"*" | rename HighRiskWords as web_Search] | stats count by web_Search, web_User, _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It would be great to have the final piece of the search to be: &lt;CODE&gt;Web_Search, {web_MatchingLookup}, web_user, _time&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Thanks! &lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 16:15:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Appending-Lookup-Match-to-Search-Results/m-p/497216#M138502</guid>
      <dc:creator>driva</dc:creator>
      <dc:date>2020-01-28T16:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Appending Lookup Match to Search Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Appending-Lookup-Match-to-Search-Results/m-p/497217#M138503</link>
      <description>&lt;P&gt;don't do that. use a lookup as a lookup and make it a wildcard match type. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=web 
| lookup HighRiskWords web_Search outputnew web_Search as isFound
| where isnotnull(isFound)
| stats count by web_Search, web_User, _time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Jan 2020 17:36:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Appending-Lookup-Match-to-Search-Results/m-p/497217#M138503</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2020-01-28T17:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Appending Lookup Match to Search Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Appending-Lookup-Match-to-Search-Results/m-p/497218#M138504</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Knowledge/Usefieldlookupstoaddinformationtoyourevents"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Knowledge/Usefieldlookupstoaddinformationtoyourevents&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 17:44:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Appending-Lookup-Match-to-Search-Results/m-p/497218#M138504</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2020-01-28T17:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Appending Lookup Match to Search Results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Appending-Lookup-Match-to-Search-Results/m-p/497219#M138505</link>
      <description>&lt;P&gt;Can you elaborate and provide more details to what exactly you are trying to do?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 19:01:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Appending-Lookup-Match-to-Search-Results/m-p/497219#M138505</guid>
      <dc:creator>13tsavage</dc:creator>
      <dc:date>2020-01-28T19:01:09Z</dc:date>
    </item>
  </channel>
</rss>

