<?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: CSV lookup and count the value in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-lookup-and-count-the-value/m-p/522966#M88322</link>
    <description>&lt;P&gt;Thanks a lot. That works. I have to add a "where isnotnull(description" to the command to filter the Events that are not in the CSV.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2020 11:51:42 GMT</pubDate>
    <dc:creator>Stephan</dc:creator>
    <dc:date>2020-10-05T11:51:42Z</dc:date>
    <item>
      <title>CSV lookup and count the value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-lookup-and-count-the-value/m-p/522954#M88320</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I have a CSV file with two fields (ID and description) and I want to know if any of the IDs are found in a search. It would be great if the output comes in a table with count and the description.&lt;BR /&gt;&lt;BR /&gt;CSV is like:&lt;BR /&gt;ID, description&lt;BR /&gt;1, abc&lt;BR /&gt;2, lmn&lt;BR /&gt;3, yxz&lt;BR /&gt;&lt;BR /&gt;output:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;ID&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;description&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;2&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;lmn&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;1&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;abc&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is that possible?&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Stephan&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 11:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-lookup-and-count-the-value/m-p/522954#M88320</guid>
      <dc:creator>Stephan</dc:creator>
      <dc:date>2020-10-05T11:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: CSV lookup and count the value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-lookup-and-count-the-value/m-p/522958#M88321</link>
      <description>&lt;P&gt;First you could count by id, then lookup the description from the csv file.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count by id
| lookup file.csv&lt;/LI-CODE&gt;&lt;P&gt;Depending on your actual search, you may need to adjust the field names to match&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 11:29:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-lookup-and-count-the-value/m-p/522958#M88321</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-10-05T11:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: CSV lookup and count the value</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-lookup-and-count-the-value/m-p/522966#M88322</link>
      <description>&lt;P&gt;Thanks a lot. That works. I have to add a "where isnotnull(description" to the command to filter the Events that are not in the CSV.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 11:51:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-lookup-and-count-the-value/m-p/522966#M88322</guid>
      <dc:creator>Stephan</dc:creator>
      <dc:date>2020-10-05T11:51:42Z</dc:date>
    </item>
  </channel>
</rss>

