<?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: please help on how to achieve the below kind of lookup/rename for 100+ fields of my events in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/please-help-on-how-to-achieve-the-below-kind-of-lookup-rename/m-p/482165#M135089</link>
    <description>&lt;P&gt;Create 2 lookup tables . One for color (color.csv) and other for Planets (Planets.csv)&lt;/P&gt;

&lt;P&gt;Planets.csv will have fields -fields1 , planet&lt;BR /&gt;
color.csv will have fields - field2, color&lt;/P&gt;

&lt;P&gt;base query&lt;BR /&gt;
| lookup Planets.csv fields1 &lt;BR /&gt;
|lookup color.csv fields2 &lt;BR /&gt;
| table fields1,planet,fields2,color.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2019 16:41:54 GMT</pubDate>
    <dc:creator>Anantha123</dc:creator>
    <dc:date>2019-09-17T16:41:54Z</dc:date>
    <item>
      <title>please help on how to achieve the below kind of lookup/rename for 100+ fields of my events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/please-help-on-how-to-achieve-the-below-kind-of-lookup-rename/m-p/482163#M135087</link>
      <description>&lt;P&gt;My event log has comma separated field values of 100+ fields. Each field can have about 2-15 different values. Example if field10=3, I need to map to earth, field10=4, map to mars so on. If field11=4, map to blue, field11=5, map to red and so on. Please help with an example format of lookup csv and how to use it in the search bar so the searched events in the output show with the mapped values. thank you&lt;/P&gt;

&lt;P&gt;mylookup.csv&lt;BR /&gt;
.&lt;BR /&gt;
field1,1=mercury,2=venus,3=earth&lt;BR /&gt;
field2,1=brown,2=blue,3=red,4=yellow,5=green&lt;/P&gt;

&lt;P&gt;my basic search gives &lt;BR /&gt;
3,2,a,b,c..&lt;BR /&gt;
how to get output like&lt;BR /&gt;
earth,blue,x,y,z....&lt;BR /&gt;
or&lt;BR /&gt;
3_earth,2_blue,p_x,q_y,r_z....&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:12:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/please-help-on-how-to-achieve-the-below-kind-of-lookup-rename/m-p/482163#M135087</guid>
      <dc:creator>smiththebest</dc:creator>
      <dc:date>2020-09-30T02:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: please help on how to achieve the below kind of lookup/rename for 100+ fields of my events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/please-help-on-how-to-achieve-the-below-kind-of-lookup-rename/m-p/482164#M135088</link>
      <description>&lt;P&gt;What's your basic search? Is your lookup table has headers?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2019 14:59:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/please-help-on-how-to-achieve-the-below-kind-of-lookup-rename/m-p/482164#M135088</guid>
      <dc:creator>jawaharas</dc:creator>
      <dc:date>2019-09-15T14:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: please help on how to achieve the below kind of lookup/rename for 100+ fields of my events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/please-help-on-how-to-achieve-the-below-kind-of-lookup-rename/m-p/482165#M135089</link>
      <description>&lt;P&gt;Create 2 lookup tables . One for color (color.csv) and other for Planets (Planets.csv)&lt;/P&gt;

&lt;P&gt;Planets.csv will have fields -fields1 , planet&lt;BR /&gt;
color.csv will have fields - field2, color&lt;/P&gt;

&lt;P&gt;base query&lt;BR /&gt;
| lookup Planets.csv fields1 &lt;BR /&gt;
|lookup color.csv fields2 &lt;BR /&gt;
| table fields1,planet,fields2,color.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 16:41:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/please-help-on-how-to-achieve-the-below-kind-of-lookup-rename/m-p/482165#M135089</guid>
      <dc:creator>Anantha123</dc:creator>
      <dc:date>2019-09-17T16:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: please help on how to achieve the below kind of lookup/rename for 100+ fields of my events</title>
      <link>https://community.splunk.com/t5/Splunk-Search/please-help-on-how-to-achieve-the-below-kind-of-lookup-rename/m-p/482166#M135090</link>
      <description>&lt;P&gt;Thank you, my issue is there are about 50 + useful fields out of 250 odd total fields, this means my lookup need to be 50 files. I think it is better to do just replace command in search for the value in fields?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2019 08:12:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/please-help-on-how-to-achieve-the-below-kind-of-lookup-rename/m-p/482166#M135090</guid>
      <dc:creator>smiththebest</dc:creator>
      <dc:date>2019-09-30T08:12:51Z</dc:date>
    </item>
  </channel>
</rss>

