<?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: Parallel Coordinates in a  simple XML form in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Parallel-Coordinates-in-a-simple-XML-form/m-p/101978#M5713</link>
    <description>&lt;P&gt;Thanks... I'm using it in the same example app... this xml did work... Thanks&lt;/P&gt;</description>
    <pubDate>Thu, 17 Oct 2013 21:44:33 GMT</pubDate>
    <dc:creator>ivantn21</dc:creator>
    <dc:date>2013-10-17T21:44:33Z</dc:date>
    <item>
      <title>Parallel Coordinates in a  simple XML form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Parallel-Coordinates-in-a-simple-XML-form/m-p/101976#M5711</link>
      <description>&lt;P&gt;I'm trying to add a drop down menu to the parallel coordinates visualization that is available on the Splunk 6 dashboard examples apps... But it seems to not work at all...  any help??  here you have the view xml&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form script="autodiscover.js"&amp;gt;
    &amp;lt;label&amp;gt;D3 Parallel Coordinates&amp;lt;/label&amp;gt;
&amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
&amp;lt;input type="dropdown" token="source" searchWhenChanged="true"&amp;gt;
&amp;lt;label&amp;gt;Select a Sourcetype:&amp;lt;/label&amp;gt;
&amp;lt;prefix&amp;gt;sourcetype="&amp;lt;/prefix&amp;gt;
&amp;lt;suffix&amp;gt;"&amp;lt;/suffix&amp;gt;
&amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
&amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
&amp;lt;populatingSearch fieldForValue="sourcetype" fieldForLabel="sourcetype" earliest="-24h" latest="now"&amp;gt;
&amp;lt;![CDATA[index=_internal | stats count by sourcetype]]&amp;gt;
&amp;lt;/populatingSearch&amp;gt;
&amp;lt;/input&amp;gt;
&amp;lt;/fieldset&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;html&amp;gt;
            &amp;lt;h2&amp;gt;Metrics: Pipeline&amp;lt;/h2&amp;gt;

            &amp;lt;div id="custom_search"
                 class="splunk-manager"
                 data-require="splunkjs/mvc/searchmanager"
                 data-options='{
                        "search": "index=_internal $source$ component=Metrics group=pipeline | dedup 2 name,processor | table name processor cpu_seconds executes cummulative_hits",
                        "earliest_time": "-1h"
                    }'&amp;gt;
            &amp;lt;/div&amp;gt;

            &amp;lt;div id="custom"
                 class="splunk-view"
                 data-require="app/simple_xml_examples/components/parallelcoords/parallelcoords"
                 data-options='{
                        "managerid": "custom_search",
                        "height": 400
                    }'&amp;gt;
            &amp;lt;/div&amp;gt;

        &amp;lt;/html&amp;gt;
    &amp;lt;/row&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;html&amp;gt;
            &amp;lt;h2&amp;gt;Metrics: Queue&amp;lt;/h2&amp;gt;

            &amp;lt;div id="custom_search2"
                 class="splunk-manager"
                 data-require="splunkjs/mvc/searchmanager"
                 data-options='{
                        "search": "index=_internal $source$ component=Metrics group=queue | dedup name | table name max_size_kb current_size largest_size smallest_size",
                        "earliest_time": "-1h"
                    }'&amp;gt;
            &amp;lt;/div&amp;gt;

            &amp;lt;div id="custom2"
                 class="splunk-view"
                 data-require="app/simple_xml_examples/components/parallelcoords/parallelcoords"
                 data-options='{
                        "managerid": "custom_search2",
                        "height": 300
                    }'&amp;gt;
            &amp;lt;/div&amp;gt;

        &amp;lt;/html&amp;gt;
    &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Oct 2013 18:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Parallel-Coordinates-in-a-simple-XML-form/m-p/101976#M5711</guid>
      <dc:creator>ivantn21</dc:creator>
      <dc:date>2013-10-16T18:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Coordinates in a  simple XML form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Parallel-Coordinates-in-a-simple-XML-form/m-p/101977#M5712</link>
      <description>&lt;P&gt;Can you clarify what you mean by not work at all?  Is this view within the simple_xml_examples app space, or do you have it in a separate app?  If separate, do you have the referenced autodiscover.js in your appserver/static directory?  Does it work if you remove the token reference within the search?&lt;/P&gt;

&lt;P&gt;If it otherwise works when you remove the tokens in your search, then go ahead and try this xml to ensure that the search gets reloaded on token change.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form script="autodiscover.js"&amp;gt;
    &amp;lt;label&amp;gt;D3 Parallel Coordinates&amp;lt;/label&amp;gt;
    &amp;lt;fieldset autoRun="true" submitButton="false"&amp;gt;
        &amp;lt;input type="dropdown" token="source" searchWhenChanged="true"&amp;gt;
            &amp;lt;label&amp;gt;Select a Sourcetype:&amp;lt;/label&amp;gt;
            &amp;lt;prefix&amp;gt;sourcetype="&amp;lt;/prefix&amp;gt;
            &amp;lt;suffix&amp;gt;"&amp;lt;/suffix&amp;gt;
            &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
            &amp;lt;choice value="*"&amp;gt;All&amp;lt;/choice&amp;gt;
            &amp;lt;populatingSearch fieldForValue="sourcetype" fieldForLabel="sourcetype" earliest="-24h" latest="now"&amp;gt;
                &amp;lt;![CDATA[index=_internal | stats count by sourcetype]]&amp;gt;
            &amp;lt;/populatingSearch&amp;gt;
        &amp;lt;/input&amp;gt;
        &amp;lt;input type="time" searchWhenChanged="true"&amp;gt;
            &amp;lt;default&amp;gt;
                &amp;lt;earliestTime&amp;gt;-60m@m&amp;lt;/earliestTime&amp;gt;
                &amp;lt;latestTime&amp;gt;now&amp;lt;/latestTime&amp;gt;
            &amp;lt;/default&amp;gt;
        &amp;lt;/input&amp;gt;
    &amp;lt;/fieldset&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;html&amp;gt;
            &amp;lt;h2&amp;gt;Metrics: Pipeline&amp;lt;/h2&amp;gt;

            &amp;lt;div id="custom_search"
                 class="splunk-manager"
                 data-require="splunkjs/mvc/searchmanager"
                 data-options='{
                        "search": { "type": "token_safe", "value": "index=_internal $$source$$ component=Metrics group=pipeline | dedup 2 name,processor | table name processor cpu_seconds executes cummulative_hits" },
                        "earliest_time": { "type": "token_safe", "value": "$$earliest$$" },
                        "latest_time": { "type": "token_safe", "value": "$$latest$$" }
                    }'&amp;gt;
            &amp;lt;/div&amp;gt;

            &amp;lt;div id="custom"
                 class="splunk-view"
                 data-require="app/simple_xml_examples/components/parallelcoords/parallelcoords"
                 data-options='{
                        "managerid": "custom_search",
                        "height": 400
                    }'&amp;gt;
            &amp;lt;/div&amp;gt;

        &amp;lt;/html&amp;gt;
    &amp;lt;/row&amp;gt;
    &amp;lt;row&amp;gt;
        &amp;lt;html&amp;gt;
            &amp;lt;h2&amp;gt;Metrics: Queue&amp;lt;/h2&amp;gt;

            &amp;lt;div id="custom_search2"
                 class="splunk-manager"
                 data-require="splunkjs/mvc/searchmanager"
                 data-options='{
                        "search": { "type": "token_safe", "value": "index=_internal $$source$$ component=Metrics group=queue | dedup name | table name max_size_kb current_size largest_size smallest_size" },
                        "earliest_time": { "type": "token_safe", "value": "$$earliest$$" },
                        "latest_time": { "type": "token_safe", "value": "$$latest$$" }
                    }'&amp;gt;
            &amp;lt;/div&amp;gt;

            &amp;lt;div id="custom2"
                 class="splunk-view"
                 data-require="app/simple_xml_examples/components/parallelcoords/parallelcoords"
                 data-options='{
                        "managerid": "custom_search2",
                        "height": 300
                    }'&amp;gt;
            &amp;lt;/div&amp;gt;

        &amp;lt;/html&amp;gt;
    &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:00:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Parallel-Coordinates-in-a-simple-XML-form/m-p/101977#M5712</guid>
      <dc:creator>nfilippi_splunk</dc:creator>
      <dc:date>2020-09-28T15:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Coordinates in a  simple XML form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Parallel-Coordinates-in-a-simple-XML-form/m-p/101978#M5713</link>
      <description>&lt;P&gt;Thanks... I'm using it in the same example app... this xml did work... Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2013 21:44:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Parallel-Coordinates-in-a-simple-XML-form/m-p/101978#M5713</guid>
      <dc:creator>ivantn21</dc:creator>
      <dc:date>2013-10-17T21:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Parallel Coordinates in a  simple XML form</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Parallel-Coordinates-in-a-simple-XML-form/m-p/101979#M5714</link>
      <description>&lt;P&gt;Yep. I can confirm that the token_safe you specified in the XML makes it work. Thanks so much!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2014 02:08:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Parallel-Coordinates-in-a-simple-XML-form/m-p/101979#M5714</guid>
      <dc:creator>sajbutler</dc:creator>
      <dc:date>2014-09-18T02:08:50Z</dc:date>
    </item>
  </channel>
</rss>

