<?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: Lookup search wigh showing matched keyword in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700682#M237735</link>
    <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the field in my search is "file_name" while the field in the lookup is called "phrase", i tried to use this but it didnt work:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| lookup my_lookup.csv phrase OUTPUT file_name AS found_key&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 01 Oct 2024 18:54:39 GMT</pubDate>
    <dc:creator>msalghamdi</dc:creator>
    <dc:date>2024-10-01T18:54:39Z</dc:date>
    <item>
      <title>Lookup search wigh showing matched keyword</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700642#M237716</link>
      <description>&lt;P&gt;Hello Splunkers&lt;BR /&gt;&lt;BR /&gt;How can i utilize a lookup in a correlation search showing the detected keyword in the search result ?&lt;BR /&gt;&lt;BR /&gt;its a requirement that the analyst shouldn't have the capability to view lookups&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 10:01:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700642#M237716</guid>
      <dc:creator>msalghamdi</dc:creator>
      <dc:date>2024-10-01T10:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup search wigh showing matched keyword</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700645#M237717</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256839"&gt;@msalghamdi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;could you better describe your requirement, eventually with an example?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 10:14:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700645#M237717</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-10-01T10:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup search wigh showing matched keyword</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700652#M237718</link>
      <description>&lt;P&gt;thanks for the prompt response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;our risk team wants to provide a list of critical project keyword which will be stored as a lookup, and we'd search the DLP logs for any match&amp;nbsp; in the lookup, but the require that the analyst shouldn't have the ability to view the lookup which means that the analyst wouldn't know what keyword matched if the DLP captured more that a file/keyword in one log, so we thought if maybe there's a way we can highlight matched keywords in the search&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 11:01:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700652#M237718</guid>
      <dc:creator>msalghamdi</dc:creator>
      <dc:date>2024-10-01T11:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup search wigh showing matched keyword</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700653#M237719</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256839"&gt;@msalghamdi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;it isn't so immediate if you want to search on all the raw events, if instead you want to search on a predefined field it's easier.&lt;/P&gt;&lt;P&gt;In the second case you can use the lookup command, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your_search&amp;gt;
| lookup your_lookup.csv your_key OUTPUT your_key AS found_key&lt;/LI-CODE&gt;&lt;P&gt;In the other case there was a solution from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt;&amp;nbsp;to my same requirement of around 10 years ago, very hard to remember.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 12:07:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700653#M237719</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-10-01T12:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup search wigh showing matched keyword</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700654#M237720</link>
      <description>&lt;P&gt;You could try protecting access to the lookup by putting in a kv store and accessing it through a custom command. This custom command would be in an app which is protected from "casual" users with particular roles and permissions. The custom command would return the matching word without disclosing the contents of the lookup. This is not a trivial solution but may at least go some way to meeting your requirement.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2024 12:31:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700654#M237720</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-10-01T12:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup search wigh showing matched keyword</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700682#M237735</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the field in my search is "file_name" while the field in the lookup is called "phrase", i tried to use this but it didnt work:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;| lookup my_lookup.csv phrase OUTPUT file_name AS found_key&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 01 Oct 2024 18:54:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-search-wigh-showing-matched-keyword/m-p/700682#M237735</guid>
      <dc:creator>msalghamdi</dc:creator>
      <dc:date>2024-10-01T18:54:39Z</dc:date>
    </item>
  </channel>
</rss>

