<?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: Can a form be also a dahsboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102813#M5808</link>
    <description>&lt;P&gt;Using advanced XML, sure you can put a form in a dashboard.  Here's some sample code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;module name="HiddenSearch" layoutPanel="panel_row3_col1" autorun="False" &amp;gt;
    &amp;lt;param name="search"&amp;gt;index=_internal sourcetype=$sourcetype$ | fields + _time,sourcetype,_raw&amp;lt;/param&amp;gt;
    &amp;lt;param name="earliest"&amp;gt;-24h&amp;lt;/param&amp;gt;
    &amp;lt;module name="ExtendedFieldSearch"&amp;gt;
      &amp;lt;param name="replacementMap"&amp;gt;
        &amp;lt;param name="arg"&amp;gt;
          &amp;lt;param name="sourcetype"&amp;gt;
            &amp;lt;param name="value"&amp;gt;&amp;lt;/param&amp;gt;
        &amp;lt;/param&amp;gt;
      &amp;lt;/param&amp;gt;
      &amp;lt;/param&amp;gt;
      &amp;lt;param name="field"&amp;gt;Enter sourcetype&amp;lt;/param&amp;gt;
      &amp;lt;param name="intention"&amp;gt;
        &amp;lt;param name="name"&amp;gt;stringreplace&amp;lt;/param&amp;gt;
        &amp;lt;param name="arg"&amp;gt;
          &amp;lt;param name="sourcetype"&amp;gt;
            &amp;lt;param name="fillOnEmpty"&amp;gt;True&amp;lt;/param&amp;gt;
          &amp;lt;/param&amp;gt;
        &amp;lt;/param&amp;gt;
      &amp;lt;/param&amp;gt;

&amp;lt;!--
        &amp;lt;module name="TimeRangePicker"&amp;gt;
          &amp;lt;param name="searchWhenChanged"&amp;gt;False&amp;lt;/param&amp;gt;
          --&amp;gt;

          &amp;lt;module name="SubmitButton"&amp;gt;
            &amp;lt;param name="allowSoftSubmit"&amp;gt;True&amp;lt;/param&amp;gt;
            &amp;lt;param name="label"&amp;gt;Click to Search&amp;lt;/param&amp;gt;
            &amp;lt;module name="JobProgressIndicator" layoutPanel="panel_row3_col1" group="Find matching events"&amp;gt;
              &amp;lt;param name="groupLabel"&amp;gt;Look up matching events for&amp;lt;/param&amp;gt;


            &amp;lt;module name="Paginator"&amp;gt;
              &amp;lt;param name="count"&amp;gt;10&amp;lt;/param&amp;gt;
              &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;
              &amp;lt;module name="EnablePreview"&amp;gt;
                &amp;lt;param name="enable"&amp;gt;True&amp;lt;/param&amp;gt;
                &amp;lt;param name="display"&amp;gt;False&amp;lt;/param&amp;gt;


                &amp;lt;module name="SimpleResultsTable"&amp;gt;
                  &amp;lt;param name="count"&amp;gt;10&amp;lt;/param&amp;gt;
                  &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;
                  &amp;lt;param name="allowTransformedFieldSelect"&amp;gt;True&amp;lt;/param&amp;gt;
                  &amp;lt;param name="drilldown"&amp;gt;none&amp;lt;/param&amp;gt;
                  &amp;lt;module name="ConvertToDrilldownSearch"&amp;gt;
                    &amp;lt;module name="ViewRedirector"&amp;gt;
                      &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
                    &amp;lt;/module&amp;gt;
                  &amp;lt;/module&amp;gt;

                &amp;lt;module name="ViewRedirectorLink"&amp;gt;
                  &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
                &amp;lt;/module&amp;gt;
              &amp;lt;/module&amp;gt;
            &amp;lt;/module&amp;gt;
          &amp;lt;/module&amp;gt;
        &amp;lt;/module&amp;gt;
       &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 14 Jan 2014 04:30:06 GMT</pubDate>
    <dc:creator>the_wolverine</dc:creator>
    <dc:date>2014-01-14T04:30:06Z</dc:date>
    <item>
      <title>Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102804#M5799</link>
      <description>&lt;P&gt;In my view I use the &lt;/P&gt;&lt;FORM&gt; in order to get input from the user.&lt;BR /&gt;
In my recently 4.3 installation I've noticed that if I replace the  with &lt;DASHBOARD&gt; my view gets editing capabilities but lacks the user input component.&lt;BR /&gt;
Can I enjoy both worlds, having both input component and edit dashboard?&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I've noticed that if I use advanced xml than the editing capabilities disappear , so in that case I would not want to use advanced xml.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;&lt;/DASHBOARD&gt;&lt;/FORM&gt;</description>
      <pubDate>Wed, 18 Jul 2012 20:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102804#M5799</guid>
      <dc:creator>dadi</dc:creator>
      <dc:date>2012-07-18T20:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102805#M5800</link>
      <description>&lt;P&gt;I think simply put, the answer is no...&lt;/P&gt;

&lt;P&gt;However once you have started to play around with XML specfically simple XML it becomes very easy to start modifying your XML directly. There are loads of guides on editing the XML and you are able to perform a much greater level of customisation editing it directly... more so in advanced XML.&lt;/P&gt;

&lt;P&gt;Cheers,&lt;/P&gt;

&lt;P&gt;MHibbin&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 20:58:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102805#M5800</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-07-18T20:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102806#M5801</link>
      <description>&lt;P&gt;Thanks MHibbin.&lt;BR /&gt;
I've tried to play with my XML but wasn't able to put a form inside a dashboard. Are you suggesting there is no way I can workaround it by editting my xml?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 21:08:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102806#M5801</guid>
      <dc:creator>dadi</dc:creator>
      <dc:date>2012-07-18T21:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102807#M5802</link>
      <description>&lt;P&gt;This can not be done in simple XML you will need to look into advance XML.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 21:12:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102807#M5802</guid>
      <dc:creator>jgedeon120</dc:creator>
      <dc:date>2012-07-18T21:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102808#M5803</link>
      <description>&lt;P&gt;Are you suggesting that in advanced xml it can be done? Any pointers on how?&lt;BR /&gt;
Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 21:18:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102808#M5803</guid>
      <dc:creator>dadi</dc:creator>
      <dc:date>2012-07-18T21:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102809#M5804</link>
      <description>&lt;P&gt;I would suggest that you install the ui examples app and look at the code and objects.  I think it might answer most of you questions that you're going to come across when to get deeper into the app.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 21:26:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102809#M5804</guid>
      <dc:creator>jgedeon120</dc:creator>
      <dc:date>2012-07-18T21:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102810#M5805</link>
      <description>&lt;P&gt;I normally cheat a little here, to make the process quicker... &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;create a dashboard&lt;/LI&gt;
&lt;LI&gt;use the following guide, to transform to a form (basically adding the fieldset)... &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Developer/Step1CreateAForm"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Developer/Step1CreateAForm&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;check the form works... and it will still have "dashboard" panels.&lt;/LI&gt;
&lt;LI&gt;to transform it to advance xml, use the "showsource" endpoint, by appending "?showsource=1" to your URL for the form, e.g. 
"&lt;A href="http://splunk:8000/app/"&gt;http://splunk:8000/app/&lt;/A&gt;&lt;APP&gt;/form?showsource=1"&lt;/APP&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:27:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102810#M5805</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-07-19T09:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102811#M5806</link>
      <description>&lt;P&gt;I understand you would like the edit options on the view, but, this is simply not possible, once you start editing the XML for the form (i.e. creating the form). you can't place the form tag within a dashboard tag&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2012 09:30:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102811#M5806</guid>
      <dc:creator>MHibbin</dc:creator>
      <dc:date>2012-07-19T09:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102812#M5807</link>
      <description>&lt;P&gt;Ok. so basically the answer is NO. I can't have a form and edit capabilities in the same view&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2012 10:07:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102812#M5807</guid>
      <dc:creator>dadi</dc:creator>
      <dc:date>2012-07-19T10:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can a form be also a dahsboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102813#M5808</link>
      <description>&lt;P&gt;Using advanced XML, sure you can put a form in a dashboard.  Here's some sample code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;module name="HiddenSearch" layoutPanel="panel_row3_col1" autorun="False" &amp;gt;
    &amp;lt;param name="search"&amp;gt;index=_internal sourcetype=$sourcetype$ | fields + _time,sourcetype,_raw&amp;lt;/param&amp;gt;
    &amp;lt;param name="earliest"&amp;gt;-24h&amp;lt;/param&amp;gt;
    &amp;lt;module name="ExtendedFieldSearch"&amp;gt;
      &amp;lt;param name="replacementMap"&amp;gt;
        &amp;lt;param name="arg"&amp;gt;
          &amp;lt;param name="sourcetype"&amp;gt;
            &amp;lt;param name="value"&amp;gt;&amp;lt;/param&amp;gt;
        &amp;lt;/param&amp;gt;
      &amp;lt;/param&amp;gt;
      &amp;lt;/param&amp;gt;
      &amp;lt;param name="field"&amp;gt;Enter sourcetype&amp;lt;/param&amp;gt;
      &amp;lt;param name="intention"&amp;gt;
        &amp;lt;param name="name"&amp;gt;stringreplace&amp;lt;/param&amp;gt;
        &amp;lt;param name="arg"&amp;gt;
          &amp;lt;param name="sourcetype"&amp;gt;
            &amp;lt;param name="fillOnEmpty"&amp;gt;True&amp;lt;/param&amp;gt;
          &amp;lt;/param&amp;gt;
        &amp;lt;/param&amp;gt;
      &amp;lt;/param&amp;gt;

&amp;lt;!--
        &amp;lt;module name="TimeRangePicker"&amp;gt;
          &amp;lt;param name="searchWhenChanged"&amp;gt;False&amp;lt;/param&amp;gt;
          --&amp;gt;

          &amp;lt;module name="SubmitButton"&amp;gt;
            &amp;lt;param name="allowSoftSubmit"&amp;gt;True&amp;lt;/param&amp;gt;
            &amp;lt;param name="label"&amp;gt;Click to Search&amp;lt;/param&amp;gt;
            &amp;lt;module name="JobProgressIndicator" layoutPanel="panel_row3_col1" group="Find matching events"&amp;gt;
              &amp;lt;param name="groupLabel"&amp;gt;Look up matching events for&amp;lt;/param&amp;gt;


            &amp;lt;module name="Paginator"&amp;gt;
              &amp;lt;param name="count"&amp;gt;10&amp;lt;/param&amp;gt;
              &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;
              &amp;lt;module name="EnablePreview"&amp;gt;
                &amp;lt;param name="enable"&amp;gt;True&amp;lt;/param&amp;gt;
                &amp;lt;param name="display"&amp;gt;False&amp;lt;/param&amp;gt;


                &amp;lt;module name="SimpleResultsTable"&amp;gt;
                  &amp;lt;param name="count"&amp;gt;10&amp;lt;/param&amp;gt;
                  &amp;lt;param name="entityName"&amp;gt;results&amp;lt;/param&amp;gt;
                  &amp;lt;param name="allowTransformedFieldSelect"&amp;gt;True&amp;lt;/param&amp;gt;
                  &amp;lt;param name="drilldown"&amp;gt;none&amp;lt;/param&amp;gt;
                  &amp;lt;module name="ConvertToDrilldownSearch"&amp;gt;
                    &amp;lt;module name="ViewRedirector"&amp;gt;
                      &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
                    &amp;lt;/module&amp;gt;
                  &amp;lt;/module&amp;gt;

                &amp;lt;module name="ViewRedirectorLink"&amp;gt;
                  &amp;lt;param name="viewTarget"&amp;gt;flashtimeline&amp;lt;/param&amp;gt;
                &amp;lt;/module&amp;gt;
              &amp;lt;/module&amp;gt;
            &amp;lt;/module&amp;gt;
          &amp;lt;/module&amp;gt;
        &amp;lt;/module&amp;gt;
       &amp;lt;/module&amp;gt;
    &amp;lt;/module&amp;gt;
  &amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Jan 2014 04:30:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-a-form-be-also-a-dahsboard/m-p/102813#M5808</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2014-01-14T04:30:06Z</dc:date>
    </item>
  </channel>
</rss>

