<?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 resolve dynamic drop-down error &amp;quot;Duplicate values causing conflict&amp;quot;? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236205#M14681</link>
    <description>&lt;P&gt;Whatever your query is, to remove duplications, simply add "| dedup [field_value]" to your search for that dropdown. As long as the time span for that dynamic search and your overall dashboard display's search are the same, you shouldn't come up with any missing/unexpected values.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jan 2017 22:51:50 GMT</pubDate>
    <dc:creator>jmaple</dc:creator>
    <dc:date>2017-01-11T22:51:50Z</dc:date>
    <item>
      <title>How to resolve dynamic drop-down error "Duplicate values causing conflict"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236204#M14680</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have a question about the dynamic query in the drop-down list options. I am getting an error "Duplicate values causing conflict" and when I open the UI of the drop-down list, in the token options, it says the "Duplicate values causing conflict" for the default and the initial value fields. I am not sure of why it is asking those values for a dynamic query. Can someone please suggest on how to overcome this problem? &lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 21:20:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236204#M14680</guid>
      <dc:creator>asanakka</dc:creator>
      <dc:date>2017-01-11T21:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve dynamic drop-down error "Duplicate values causing conflict"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236205#M14681</link>
      <description>&lt;P&gt;Whatever your query is, to remove duplications, simply add "| dedup [field_value]" to your search for that dropdown. As long as the time span for that dynamic search and your overall dashboard display's search are the same, you shouldn't come up with any missing/unexpected values.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 22:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236205#M14681</guid>
      <dc:creator>jmaple</dc:creator>
      <dc:date>2017-01-11T22:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve dynamic drop-down error "Duplicate values causing conflict"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236206#M14682</link>
      <description>&lt;P&gt;I suggest that you edit the dashboard and edit the input. In the UI, you will see a setting for both the default value and the initial value. You do not need both of these. I would remove any setting in the initial value field, then save everything.&lt;/P&gt;

&lt;P&gt;This should solve the problem, if these are the only duplicates.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 22:55:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236206#M14682</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-01-11T22:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve dynamic drop-down error "Duplicate values causing conflict"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236207#M14683</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I have cleared the selection for both the initial value and the default token options, but it still is giving the "Duplicate values causing conflict" message for both of those options. For a dynamic query, how would it determine the output without executing it. Is it persisting the output of the previous run? &lt;/P&gt;

&lt;P&gt;Here is the query I am using:&lt;BR /&gt;
index=64581-cli sourcetype=show_version | eval hi= split(hostname, ".") | eval hi2=mvindex(hi, 3) | dedup hi2 | stats count by hi2&lt;/P&gt;

&lt;P&gt;Thanks and please suggest.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2017 23:44:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236207#M14683</guid>
      <dc:creator>asanakka</dc:creator>
      <dc:date>2017-01-11T23:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve dynamic drop-down error "Duplicate values causing conflict"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236208#M14684</link>
      <description>&lt;P&gt;Is this the query for the dynamic drop-down? It would actually be useful to see the whole fieldset for the dashboard, if you can paste it into the question...&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 00:06:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236208#M14684</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-01-12T00:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve dynamic drop-down error "Duplicate values causing conflict"?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236209#M14685</link>
      <description>&lt;P&gt;Just for reference:&lt;BR /&gt;
In fact removing these two settings (defaultValue and initalValue) have no effect on the problem.&lt;/P&gt;

&lt;P&gt;The real solution I found &lt;A href="https://answers.splunk.com/answers/329960/duplicate-values-causing-conflict.html"&gt;here&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Actually "fieldForValue" is the key field: if this field is not in the search filling the dropdown/multiselect-box it is empty for every row (e.g. picked from a lookup file). And if you pick five rows form a lookup  file you have five times the "empty" value, which obviously is duplicate. If your input just has one row, there's no duplicate - but -  the box stays emtpy as the fieldForValue-key is still missing in your input.&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 12:50:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-resolve-dynamic-drop-down-error-quot-Duplicate-values/m-p/236209#M14685</guid>
      <dc:creator>rvany</dc:creator>
      <dc:date>2018-05-25T12:50:12Z</dc:date>
    </item>
  </channel>
</rss>

