<?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 Lookup csv file different code with same meaning in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Lookup-csv-file-different-code-with-same-meaning/m-p/571643#M199203</link>
    <description>&lt;P&gt;Hi I have csv file that contain my errorcodes and meaning of them. I import this csv as lookup.&lt;/P&gt;&lt;P&gt;the problem is some codes have same meaning and when I get report show them separately&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;Here is the my csv:&lt;/P&gt;&lt;P&gt;code meaning&lt;/P&gt;&lt;P&gt;404 &amp;nbsp; &amp;nbsp;Page not found&lt;/P&gt;&lt;P&gt;402 &amp;nbsp; &amp;nbsp;Page not found&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current output:&lt;/P&gt;&lt;P&gt;Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Meaning &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Count &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;404 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page not found &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;402 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page not found &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to consider them as one and count them like this:&lt;/P&gt;&lt;P&gt;Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Meaning &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TotalCount&lt;/P&gt;&lt;P&gt;404, 402 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page not found &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI: if meaning are same consider they are same and able to count them&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 12:20:20 GMT</pubDate>
    <dc:creator>indeed_2000</dc:creator>
    <dc:date>2021-10-20T12:20:20Z</dc:date>
    <item>
      <title>Lookup csv file different code with same meaning</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-csv-file-different-code-with-same-meaning/m-p/571643#M199203</link>
      <description>&lt;P&gt;Hi I have csv file that contain my errorcodes and meaning of them. I import this csv as lookup.&lt;/P&gt;&lt;P&gt;the problem is some codes have same meaning and when I get report show them separately&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;P&gt;Here is the my csv:&lt;/P&gt;&lt;P&gt;code meaning&lt;/P&gt;&lt;P&gt;404 &amp;nbsp; &amp;nbsp;Page not found&lt;/P&gt;&lt;P&gt;402 &amp;nbsp; &amp;nbsp;Page not found&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current output:&lt;/P&gt;&lt;P&gt;Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Meaning &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Count &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;404 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page not found &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;402 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page not found &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;25&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to consider them as one and count them like this:&lt;/P&gt;&lt;P&gt;Code &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Meaning &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TotalCount&lt;/P&gt;&lt;P&gt;404, 402 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Page not found &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI: if meaning are same consider they are same and able to count them&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 12:20:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-csv-file-different-code-with-same-meaning/m-p/571643#M199203</guid>
      <dc:creator>indeed_2000</dc:creator>
      <dc:date>2021-10-20T12:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: Lookup csv file different code with same meaning</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Lookup-csv-file-different-code-with-same-meaning/m-p/571647#M199204</link>
      <description>&lt;LI-CODE lang="markup"&gt;| lookup codes.csv
| stats values(code) as code count by meaning
| eval code=mvjoin(code,",")&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 20 Oct 2021 12:34:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Lookup-csv-file-different-code-with-same-meaning/m-p/571647#M199204</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-10-20T12:34:18Z</dc:date>
    </item>
  </channel>
</rss>

