<?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 add only specific fields to outputlookup? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254595#M15921</link>
    <description>&lt;P&gt;Try using these : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup kv_store|eval id=$id$| eval oldval=$oldValue$| eval newval=$newValue$| table id, newval,oldval| outputlookup kv_store append=TRUE
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 13 Jul 2016 13:37:05 GMT</pubDate>
    <dc:creator>vr2312</dc:creator>
    <dc:date>2016-07-13T13:37:05Z</dc:date>
    <item>
      <title>How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254589#M15915</link>
      <description>&lt;P&gt;I have three text input boxes in my dashboard. I want to add (/append) those values to a kvstore collection on clicking the submit button. I am trying to use outputlookup, but have not had any luck, yet.&lt;/P&gt;

&lt;P&gt;Can somebody give me a clue? Please let me know if you need more information to understand the problem better.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 10:33:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254589#M15915</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2016-07-13T10:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254590#M15916</link>
      <description>&lt;P&gt;What is the &lt;STRONG&gt;outputlookup&lt;/STRONG&gt; command string you are using ?&lt;/P&gt;

&lt;P&gt;That would help us to proceed further. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 10:50:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254590#M15916</guid>
      <dc:creator>vr2312</dc:creator>
      <dc:date>2016-07-13T10:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254591#M15917</link>
      <description>&lt;P&gt;I tried:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup kv_store|eval id=$id$| eval oldval=$oldValue$| eval newval=$newValue$| table id, newval,oldval| outputlookup kv_store
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jul 2016 11:14:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254591#M15917</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2016-07-13T11:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254592#M15918</link>
      <description>&lt;P&gt;I just want to add these fields into the KVStore collection. No index or sourcetype is involved here. Thus I thought, probably reading the kvstore first and then storing the values in it would work. But in vain. &lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 12:33:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254592#M15918</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2016-07-13T12:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254593#M15919</link>
      <description>&lt;P&gt;Have your tried &lt;CODE&gt;append=t&lt;/CODE&gt;?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup kv_store|eval id=$id$| eval oldval=$oldValue$| eval newval=$newValue$| table id, newval,oldval| outputlookup kv_store append=t
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/SearchReference/Outputlookup"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/SearchReference/Outputlookup&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 13:08:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254593#M15919</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-07-13T13:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254594#M15920</link>
      <description>&lt;P&gt;You need to open your lookup with append=True and then have eval statements.  &lt;/P&gt;

&lt;P&gt;For eg. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;inputlookup append=T kv_store|eval id=$id$, oldval=$oldValue$, newval=$newValue$| table id, newval,oldval| outputlookup kv_store
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also if your input lookup is empty initially, you may need to add some search criteria so that you get a result before appending data to empty lookup&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 13:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254594#M15920</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2016-07-13T13:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254595#M15921</link>
      <description>&lt;P&gt;Try using these : &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|inputlookup kv_store|eval id=$id$| eval oldval=$oldValue$| eval newval=$newValue$| table id, newval,oldval| outputlookup kv_store append=TRUE
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jul 2016 13:37:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254595#M15921</guid>
      <dc:creator>vr2312</dc:creator>
      <dc:date>2016-07-13T13:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254596#M15922</link>
      <description>&lt;P&gt;I apologize for missing that part. I should have mentioned that later I tried that, too, but did not help much.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2016 20:38:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254596#M15922</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2016-07-13T20:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254597#M15923</link>
      <description>&lt;P&gt;Thanks a lot &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/55663"&gt;@hardikJsheth&lt;/a&gt;. I followed your cue and tried the following command. It worked.&lt;/P&gt;

&lt;P&gt;|inputlookup "KV_Store"  append=true &lt;BR /&gt;
|eval id=$id$ &lt;BR /&gt;
| eval newval= "$newValue$" &lt;BR /&gt;
| eval oldval="$oldValue$" &lt;BR /&gt;
| dedup id &lt;BR /&gt;
|table id, newval, oldval &lt;BR /&gt;
| outputlookup "KV_Store" append=true&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:12:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254597#M15923</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2020-09-29T10:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only specific fields to outputlookup?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254598#M15924</link>
      <description>&lt;P&gt;@pramit46 Did this work ?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 10:19:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-add-only-specific-fields-to-outputlookup/m-p/254598#M15924</guid>
      <dc:creator>vr2312</dc:creator>
      <dc:date>2016-07-14T10:19:33Z</dc:date>
    </item>
  </channel>
</rss>

