<?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: Populating Additional Information on Field Data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Populating-Additional-Information-on-Field-Data/m-p/335665#M99692</link>
    <description>&lt;P&gt;Also, it may not have been clear above but I would like to have a list of the codes and their values and have that list checked when a search is done so that a description of the code populates in the search.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 14:02:37 GMT</pubDate>
    <dc:creator>chrisschum</dc:creator>
    <dc:date>2018-03-08T14:02:37Z</dc:date>
    <item>
      <title>Populating Additional Information on Field Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Populating-Additional-Information-on-Field-Data/m-p/335664#M99691</link>
      <description>&lt;P&gt;I'm getting log data from a system that uses codes for each entry and I'd like to replace or add a description of the code to my results. There's a big list of codes for the system so I was wondering how I can do that.&lt;/P&gt;

&lt;P&gt;Example:&lt;BR /&gt;
The system logs that User A performed Code A on a user account&lt;BR /&gt;
The system logs that User B performed Code B on a user account&lt;/P&gt;

&lt;P&gt;Code A = User password change&lt;BR /&gt;
Code B = User address change&lt;/P&gt;

&lt;P&gt;Expected results in Splunk search:&lt;BR /&gt;
User A performed Code A "User password change"&lt;BR /&gt;
User B performed Code B "User address change"&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 13:20:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Populating-Additional-Information-on-Field-Data/m-p/335664#M99691</guid>
      <dc:creator>chrisschum</dc:creator>
      <dc:date>2018-03-08T13:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Additional Information on Field Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Populating-Additional-Information-on-Field-Data/m-p/335665#M99692</link>
      <description>&lt;P&gt;Also, it may not have been clear above but I would like to have a list of the codes and their values and have that list checked when a search is done so that a description of the code populates in the search.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 14:02:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Populating-Additional-Information-on-Field-Data/m-p/335665#M99692</guid>
      <dc:creator>chrisschum</dc:creator>
      <dc:date>2018-03-08T14:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Additional Information on Field Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Populating-Additional-Information-on-Field-Data/m-p/335666#M99693</link>
      <description>&lt;P&gt;This is what lookups are for.  Create a CSV file ("codes.csv") with your codes and descriptions like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Code, Description
A, User password change
B, User address change
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then use the &lt;CODE&gt;lookup&lt;/CODE&gt; command to get the description from the file at search time.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;your base search&amp;gt; | lookup codes.csv Code OUTPUT Description | table User Code Description
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Mar 2018 14:03:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Populating-Additional-Information-on-Field-Data/m-p/335666#M99693</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-03-08T14:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Populating Additional Information on Field Data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Populating-Additional-Information-on-Field-Data/m-p/335667#M99694</link>
      <description>&lt;P&gt;Perfect! Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 14:05:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Populating-Additional-Information-on-Field-Data/m-p/335667#M99694</guid>
      <dc:creator>chrisschum</dc:creator>
      <dc:date>2018-03-08T14:05:44Z</dc:date>
    </item>
  </channel>
</rss>

