<?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: How to search all fields from a lookup CSV file in index event log in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678457#M232006</link>
    <description>&lt;P&gt;I was a bit too quick in accepting your Answer as Solution.&lt;/P&gt;&lt;P&gt;Now it seems that the search is looking just for the first ClientName in the lookup file and ignoring all the rest.&lt;/P&gt;&lt;P&gt;If I put the ClientName that I am sure will be in the event log as first entry it works.&lt;/P&gt;&lt;P&gt;When I put the ClientName as 3rd or 4th Entry in the Column it doesnt find the event.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 09:47:03 GMT</pubDate>
    <dc:creator>m4jk3l</dc:creator>
    <dc:date>2024-02-23T09:47:03Z</dc:date>
    <item>
      <title>How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678341#M231971</link>
      <description>&lt;P&gt;Hello Splunk members!&lt;/P&gt;&lt;P&gt;I have a CSV Lookup file with 2 columns&lt;/P&gt;&lt;TABLE width="194"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="130"&gt;ClientName&lt;/TD&gt;&lt;TD width="64"&gt;HWDetSystem&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;BD-K-027EY&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VMware&lt;/P&gt;&lt;P&gt;I have an index with ASA Firewall log which I want to search and find events for all the ClientNme in the CSV&lt;/P&gt;&lt;P&gt;234654252.234 %ASA-3-2352552: Certificate was successfully validated. serial number: 1123423SSDDG23442234234DSGSGSGGSSG8, subject name: CN=&lt;STRONG&gt;BD-K-027EY&lt;/STRONG&gt;.bl.emea.something.com.&lt;/P&gt;&lt;P&gt;Between the CSV lookup file and event the common is the ClientName and a portion of the subject name.&lt;/P&gt;&lt;P&gt;If I look for successfully and provide a single client name i get the event I want, but I am struggling to look it up for all the clients and make it uniqe.&lt;/P&gt;&lt;P&gt;At the end I just want a list of ClientName for which the even was logged.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 14:30:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678341#M231971</guid>
      <dc:creator>m4jk3l</dc:creator>
      <dc:date>2024-02-22T14:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678342#M231972</link>
      <description>&lt;LI-CODE lang="markup"&gt;&amp;lt;your index&amp;gt; [| inputlookup &amp;lt;your lookup&amp;gt; | table ClientName] "Certificate was successfully validated"&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 22 Feb 2024 14:39:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678342#M231972</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-22T14:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678439#M232000</link>
      <description>&lt;P&gt;Thank you for you reply.&lt;/P&gt;&lt;P&gt;For some reasons it doesn't work yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=my_index [| inputlookup blank_clients_test.csv | table ClientName] "Certificate was successfully validated"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;For test purposes in the blank_clients_test.csv I have just put a single ClientName&amp;nbsp; I get 0 results&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I search for the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=my_index BB-H-282XY "Certificate was successfully validated"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting a match in the event.&lt;/P&gt;&lt;P&gt;What could be wrong? Does the second Column in the lookup table is also included? If, yes then it would not work. I want to exclude the second column in the lookup&lt;/P&gt;&lt;TABLE border="0" width="64" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="64" height="17"&gt;&lt;P&gt;HWDetSystem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 09:24:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678439#M232000</guid>
      <dc:creator>m4jk3l</dc:creator>
      <dc:date>2024-02-23T09:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678441#M232002</link>
      <description>&lt;P&gt;It possibly doesn't work if ClientName has not already been extracted as a field. Try it this way&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;your index&amp;gt; [| inputlookup &amp;lt;your lookup&amp;gt; | table ClientName | rename ClientName AS search] "Certificate was successfully validated"&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 23 Feb 2024 09:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678441#M232002</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-23T09:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678444#M232003</link>
      <description>&lt;P&gt;it works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 09:31:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678444#M232003</guid>
      <dc:creator>m4jk3l</dc:creator>
      <dc:date>2024-02-23T09:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678457#M232006</link>
      <description>&lt;P&gt;I was a bit too quick in accepting your Answer as Solution.&lt;/P&gt;&lt;P&gt;Now it seems that the search is looking just for the first ClientName in the lookup file and ignoring all the rest.&lt;/P&gt;&lt;P&gt;If I put the ClientName that I am sure will be in the event log as first entry it works.&lt;/P&gt;&lt;P&gt;When I put the ClientName as 3rd or 4th Entry in the Column it doesnt find the event.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 09:47:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678457#M232006</guid>
      <dc:creator>m4jk3l</dc:creator>
      <dc:date>2024-02-23T09:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678459#M232007</link>
      <description>&lt;P&gt;What do you mean by 3rd or 4th entry? Are you using multi-value fields, or are the entries all on separate rows in the look up file?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 09:50:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678459#M232007</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-23T09:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678465#M232009</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m4jk3l_0-1708682434544.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29464i219E7055C3EF15F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m4jk3l_0-1708682434544.png" alt="m4jk3l_0-1708682434544.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Each ClientName is in a separate row&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 10:01:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678465#M232009</guid>
      <dc:creator>m4jk3l</dc:creator>
      <dc:date>2024-02-23T10:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678466#M232010</link>
      <description>&lt;P&gt;In that case, it should work. Please share your search, in case there is something else stopping it from working.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 10:03:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678466#M232010</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-23T10:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678470#M232011</link>
      <description>&lt;LI-CODE lang="cpp"&gt;index=my_index [| inputlookup blank_clients.csv | table ClientName | rename ClientName AS search] "Certificate was successfully validated"&lt;/LI-CODE&gt;&lt;P&gt;If I execute just this code, I get all the ClientName entries:&lt;/P&gt;&lt;LI-CODE lang="java"&gt;| inputlookup blank_clients.csv | table ClientName | rename ClientName AS search&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m4jk3l_0-1708686601253.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/29465i09C7D6F9A09F0055/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m4jk3l_0-1708686601253.png" alt="m4jk3l_0-1708686601253.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 11:13:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678470#M232011</guid>
      <dc:creator>m4jk3l</dc:creator>
      <dc:date>2024-02-23T11:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678471#M232012</link>
      <description>&lt;P&gt;With nearly 19k entries in your lookup table you have probably blown some lime - try splitting up your searches. For example, you could use head and tail to reduce the number of rows returned.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 11:27:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678471#M232012</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-02-23T11:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to search all fields from a lookup CSV file in index event log</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678967#M232117</link>
      <description>&lt;P&gt;When I extracted the Field from the Event Log and I named it as "ClientName" it started to work.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 12:27:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-all-fields-from-a-lookup-CSV-file-in-index-event/m-p/678967#M232117</guid>
      <dc:creator>m4jk3l</dc:creator>
      <dc:date>2024-02-28T12:27:18Z</dc:date>
    </item>
  </channel>
</rss>

