<?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: Mapping id and name from lookup csv in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573118#M199764</link>
    <description>&lt;P&gt;How about:&lt;/P&gt;&lt;P&gt;index=myidx type=groups&lt;BR /&gt;| lookup groups.csv groupid OUTPUTNEW groupname&lt;BR /&gt;| table _time groupid groupname&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 05:17:06 GMT</pubDate>
    <dc:creator>jwalthour</dc:creator>
    <dc:date>2021-11-01T05:17:06Z</dc:date>
    <item>
      <title>Mapping id and name from lookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573117#M199763</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;My splunk search can return only a list of group IDs, but group names can only be found separately&lt;/P&gt;&lt;P&gt;there is a groups.csv file which maps id and name&lt;/P&gt;&lt;P&gt;groupid,groupname,&lt;BR /&gt;"a1234", "apple",&lt;BR /&gt;"b2345","balloons",&lt;BR /&gt;"c1144","cats"&lt;BR /&gt;&lt;BR /&gt;How can I write the query to return group id and the corresponding group name&lt;/P&gt;&lt;P&gt;index=myidx type=groups&amp;nbsp;&lt;BR /&gt;| table _time groupid groupname&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 04:51:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573117#M199763</guid>
      <dc:creator>alanhodreamshub</dc:creator>
      <dc:date>2021-11-01T04:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping id and name from lookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573118#M199764</link>
      <description>&lt;P&gt;How about:&lt;/P&gt;&lt;P&gt;index=myidx type=groups&lt;BR /&gt;| lookup groups.csv groupid OUTPUTNEW groupname&lt;BR /&gt;| table _time groupid groupname&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 05:17:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573118#M199764</guid>
      <dc:creator>jwalthour</dc:creator>
      <dc:date>2021-11-01T05:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping id and name from lookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573119#M199765</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/235200"&gt;@alanhodreamshub&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You have to include the lookup life in the search for mapping the id and name.&lt;/P&gt;&lt;P&gt;Try this one&lt;/P&gt;&lt;P&gt;Search:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=myidx type=groups | lookup groups.csv&amp;nbsp;groupid OUTPUT groupname&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;| table _time groupid groupname&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 05:20:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573119#M199765</guid>
      <dc:creator>vhharanpositka</dc:creator>
      <dc:date>2021-11-01T05:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping id and name from lookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573128#M199766</link>
      <description>&lt;P&gt;my bad, i should be more precise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index=myidx type=groups&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;| table&amp;nbsp;&lt;SPAN&gt;_time request.groupid groupname&lt;BR /&gt;&lt;BR /&gt;this will return:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;_time&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;request.groupid&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;groupname&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;2021-11-01 15:33&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&lt;SPAN&gt;"a1234"&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%"&gt;2021-11-01 15:33&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&lt;SPAN&gt;"b2345"&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD width="33.333333333333336%"&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2021-11-01 15:33&lt;/TD&gt;&lt;TD&gt;&lt;SPAN&gt;"c1144"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;groups.csv:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;groupid,groupname,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"a1234", "apple",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"b2345","balloons",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"c1144","cats"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can i map request.groupid with the groupname (associated to groupid) in groups.csv&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 07:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573128#M199766</guid>
      <dc:creator>alanhodreamshub</dc:creator>
      <dc:date>2021-11-01T07:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping id and name from lookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573141#M199770</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;index=myidx type=groups&lt;BR /&gt;| lookup groups.csv groupid AS ‘request.groupid’ OUTPUTNEW groupname&lt;BR /&gt;| table _time request.groupid groupname&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 11:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573141#M199770</guid>
      <dc:creator>jwalthour</dc:creator>
      <dc:date>2021-11-01T11:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Mapping id and name from lookup csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573256#M199788</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Nov 2021 04:07:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Mapping-id-and-name-from-lookup-csv/m-p/573256#M199788</guid>
      <dc:creator>alanhodreamshub</dc:creator>
      <dc:date>2021-11-02T04:07:57Z</dc:date>
    </item>
  </channel>
</rss>

