<?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: How to populate field values from one lookup table to another? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-field-values-from-one-lookup-table-to-another/m-p/598128#M208285</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt;&amp;nbsp;yes, I am looking to add category and department field only for the new user selected and output this to the USB.csv. Could you provide an example of what you mean? I am a new user to Splunk.&lt;/P&gt;</description>
    <pubDate>Tue, 17 May 2022 15:52:23 GMT</pubDate>
    <dc:creator>Italy1358</dc:creator>
    <dc:date>2022-05-17T15:52:23Z</dc:date>
    <item>
      <title>How to populate field values from one lookup table to another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-field-values-from-one-lookup-table-to-another/m-p/598115#M208281</link>
      <description>&lt;P&gt;I am trying to pull two fields from the lookup_ims lookup table and depending on the user entered I want to populate the category and department fields and place it in the USB.csv.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;lt;query&amp;gt;
| inputlookup USB.csv
| lookup_ims t fields category, Department
| append [ | makeresults
| eval user="$user_tok$", description="$description_tok$", revisit="$revisit_tok$", Action="$dropdown_tok$"]
| eval _time=now()
| table _time, user, category, department, description, revisit
| outputlookup USB.csv
&amp;lt;/query&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 15:41:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-field-values-from-one-lookup-table-to-another/m-p/598115#M208281</guid>
      <dc:creator>Italy1358</dc:creator>
      <dc:date>2022-05-17T15:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate field values from one lookup table to another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-field-values-from-one-lookup-table-to-another/m-p/598120#M208283</link>
      <description>&lt;P&gt;What field is common between ABC.csv and your second lookup? If you're looking to add category and Department field only for the new (user selected) row, do the lookup inside append subsearch.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 15:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-field-values-from-one-lookup-table-to-another/m-p/598120#M208283</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-05-17T15:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate field values from one lookup table to another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-field-values-from-one-lookup-table-to-another/m-p/598128#M208285</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt;&amp;nbsp;yes, I am looking to add category and department field only for the new user selected and output this to the USB.csv. Could you provide an example of what you mean? I am a new user to Splunk.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 15:52:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-field-values-from-one-lookup-table-to-another/m-p/598128#M208285</guid>
      <dc:creator>Italy1358</dc:creator>
      <dc:date>2022-05-17T15:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate field values from one lookup table to another?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-populate-field-values-from-one-lookup-table-to-another/m-p/598135#M208289</link>
      <description>&lt;P&gt;Something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| inputlookup USB.csv
| append [ | makeresults
| eval user="$user_tok$", description="$description_tok$", revisit="$revisit_tok$", Action="$dropdown_tok$" | lookup yoursecondLookup lookupfield as fieldtomatch OUTPUT category department | eval _time=now()]
| table _time, user, category, department, description, revisit
| outputlookup USB.csv&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 17 May 2022 16:13:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-populate-field-values-from-one-lookup-table-to-another/m-p/598135#M208289</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2022-05-17T16:13:27Z</dc:date>
    </item>
  </channel>
</rss>

