<?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 How to read a number, then convert to corresponding string and stats table? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-read-a-number-then-convert-to-corresponding-string-and/m-p/448821#M78002</link>
    <description>&lt;P&gt;I am trying to extract a module/level ID from my logs and have splunk take that ID and match it to the corresponding name from a csv file and put that into a stats table, please help.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2019 15:26:09 GMT</pubDate>
    <dc:creator>bryceweb22</dc:creator>
    <dc:date>2019-06-25T15:26:09Z</dc:date>
    <item>
      <title>How to read a number, then convert to corresponding string and stats table?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-read-a-number-then-convert-to-corresponding-string-and/m-p/448821#M78002</link>
      <description>&lt;P&gt;I am trying to extract a module/level ID from my logs and have splunk take that ID and match it to the corresponding name from a csv file and put that into a stats table, please help.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 15:26:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-read-a-number-then-convert-to-corresponding-string-and/m-p/448821#M78002</guid>
      <dc:creator>bryceweb22</dc:creator>
      <dc:date>2019-06-25T15:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a number, then convert to corresponding string and stats table?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-read-a-number-then-convert-to-corresponding-string-and/m-p/448822#M78003</link>
      <description>&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/Knowledge/Aboutlookupsandfieldactions"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/Knowledge/Aboutlookupsandfieldactions&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You want to make and use a lookup&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2019 15:42:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-read-a-number-then-convert-to-corresponding-string-and/m-p/448822#M78003</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2019-06-25T15:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to read a number, then convert to corresponding string and stats table?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-read-a-number-then-convert-to-corresponding-string-and/m-p/448823#M78004</link>
      <description>&lt;P&gt;YourSearch  | rex field=_raw max_match=0 "level ID":\"(?&amp;lt; ID&amp;gt;\d+)\"" &lt;BR /&gt;
                       | lookup file.csv level ID as ID OUTPUT corresponding_name&lt;BR /&gt;
                       | table corresponding_name count &lt;/P&gt;

&lt;P&gt;Save your .csv to lookup folder&lt;/P&gt;

&lt;P&gt;file.csv&lt;/P&gt;

&lt;P&gt;ID corresponding_name&lt;BR /&gt;
1     A&lt;BR /&gt;
2     B&lt;/P&gt;

&lt;P&gt;This should work.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-read-a-number-then-convert-to-corresponding-string-and/m-p/448823#M78004</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2020-09-30T01:06:06Z</dc:date>
    </item>
  </channel>
</rss>

