<?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: Duplicate values causing conflict - populate radio menu button in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311131#M4197</link>
    <description>&lt;P&gt;@LNebout ... I think you missed accepting the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; You should choose Accept Answer option from bolt icon next to my Answer (only you will have that option since you posted the question). &lt;/P&gt;

&lt;P&gt;In any case glad that the issue is actually resolved.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Feb 2017 15:19:16 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-02-21T15:19:16Z</dc:date>
    <item>
      <title>Duplicate values causing conflict - populate radio menu button</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311125#M4191</link>
      <description>&lt;P&gt;Hello, &lt;BR /&gt;
I have a problem on xml code.&lt;BR /&gt;
I try to populate a radio menu button. I have all good entries but every time i receive this message : Duplicate values causing conflict&lt;BR /&gt;
code :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="radio" token="sourcetype1"&amp;gt;
        &amp;lt;label&amp;gt;Source&amp;lt;/label&amp;gt;
                    &amp;lt;search&amp;gt;
                              &amp;lt;query&amp;gt;host=WIKI sourcetype="secure*.log"&amp;lt;/query&amp;gt;
                   &amp;lt;/search&amp;gt;
        &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
        &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I think the problem is with fieldForLabel and fieldForValue : same name&lt;BR /&gt;
How can there values renamed ?&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Laurent&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 00:04:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311125#M4191</guid>
      <dc:creator>LNebout</dc:creator>
      <dc:date>2017-02-20T00:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate values causing conflict - populate radio menu button</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311126#M4192</link>
      <description>&lt;P&gt;The is not because of Field For Label and Field For Value being the same. They can be the same search field extracted by you. The reason why you are getting duplicates is because you have multiple events with same sourcetype returned. Out of the several ways you should pick anyone to pull only unique sourcetype. For example the following should give unique sourcetype through dedup command. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;input type="radio" token="sourcetype1"&amp;gt;
         &amp;lt;label&amp;gt;Source&amp;lt;/label&amp;gt;
                     &amp;lt;search&amp;gt;
                               &amp;lt;query&amp;gt;host=WIKI sourcetype="secure*.log"
| dedup sourcetype
| sort sourcetype
| table sourcetype&amp;lt;/query&amp;gt;
                    &amp;lt;/search&amp;gt;
         &amp;lt;fieldForLabel&amp;gt;sourcetype&amp;lt;/fieldForLabel&amp;gt;
         &amp;lt;fieldForValue&amp;gt;sourcetype&amp;lt;/fieldForValue&amp;gt;
 &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The purpose of Label and Value fields being different is to allow you to Display something meaningful to users through label and use hidden Value for performing actual search. For example if you search returns AccountName and AccountNumber. You can choose AccountName as Label and AccountNumber as Value.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 06:28:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311126#M4192</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-02-20T06:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate values causing conflict - populate radio menu button</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311127#M4193</link>
      <description>&lt;P&gt;Thanks niketnilay  ^_^&lt;BR /&gt;
That works perfectly !!!!&lt;BR /&gt;
Laurent&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 06:36:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311127#M4193</guid>
      <dc:creator>LNebout</dc:creator>
      <dc:date>2017-02-20T06:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate values causing conflict - populate radio menu button</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311128#M4194</link>
      <description>&lt;P&gt;@LNebout, Kindly accept the answer if this solved the issue you were facing. If not please let me know.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 07:56:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311128#M4194</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-02-20T07:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate values causing conflict - populate radio menu button</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311129#M4195</link>
      <description>&lt;P&gt;Please accept the answer that worked, and move this "answer" to be a comment on that answer.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2017 21:18:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311129#M4195</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-02-20T21:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate values causing conflict - populate radio menu button</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311130#M4196</link>
      <description>&lt;P&gt;@niketnilay&lt;BR /&gt;
Works perfectly,&lt;BR /&gt;
thanks&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 01:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311130#M4196</guid>
      <dc:creator>LNebout</dc:creator>
      <dc:date>2017-02-21T01:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate values causing conflict - populate radio menu button</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311131#M4197</link>
      <description>&lt;P&gt;@LNebout ... I think you missed accepting the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; You should choose Accept Answer option from bolt icon next to my Answer (only you will have that option since you posted the question). &lt;/P&gt;

&lt;P&gt;In any case glad that the issue is actually resolved.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 15:19:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311131#M4197</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-02-21T15:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate values causing conflict - populate radio menu button</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311132#M4198</link>
      <description>&lt;P&gt;@niketnilay, sorry I had forgot to accept the answer ('^_^)&lt;/P&gt;</description>
      <pubDate>Tue, 21 Feb 2017 23:59:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Duplicate-values-causing-conflict-populate-radio-menu-button/m-p/311132#M4198</guid>
      <dc:creator>LNebout</dc:creator>
      <dc:date>2017-02-21T23:59:32Z</dc:date>
    </item>
  </channel>
</rss>

