<?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: Auto refresh a dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348241#M43125</link>
    <description>&lt;P&gt;but where in the xml does the above line go ?&lt;/P&gt;

&lt;P&gt;wherever I enter it , it just errors out.&lt;BR /&gt;
Sorry ,but am still new to splunk.&lt;/P&gt;

&lt;P&gt;This is the first few lines of the code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form refresh="120"&amp;gt;========================================&amp;gt;&amp;gt;&amp;gt;&amp;gt; ENTERED HERE ?
&amp;lt;input type="time" token="time_skip"&amp;gt;
  &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
  &amp;lt;default&amp;gt;
    &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/default&amp;gt;
&amp;lt;/input&amp;gt;


&amp;lt;panel&amp;gt;
  &amp;lt;title&amp;gt;NETWORK 1&amp;lt;/title&amp;gt;
  &amp;lt;single&amp;gt;
    &amp;lt;title&amp;gt;Most Recent CIRCUIT HIT ID&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;sourcetype=almn netdevice!=null ifname=* DCNETWORK | eval fields=split(ifname," ") | eval ifname=mvindex(fields,1) |table _time netdevice ifname almn_msg | dedup netdevice ifname| lookup circuit_info.csv local_device as netdevice, local_port as ifname | search circuit_id!=null | fields _time netdevice ifname almn_msg span carrier circuit_type cloud remote_device remote_port local_node l_96csm_port remote_node r_96csm_port circuit_id | top circuit_id&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$time_skip.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$time_skip.latest$&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Mar 2017 09:35:17 GMT</pubDate>
    <dc:creator>bharpur183</dc:creator>
    <dc:date>2017-03-08T09:35:17Z</dc:date>
    <item>
      <title>Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348236#M43120</link>
      <description>&lt;P&gt;Is there any setting that I could enable for my entire dashboard to auto-refresh every couple of seconds or minutes ?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 04:58:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348236#M43120</guid>
      <dc:creator>bharpur183</dc:creator>
      <dc:date>2017-03-08T04:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348237#M43121</link>
      <description>&lt;P&gt;Splunk Dashboards and Forms share a common set of attributes. If the intent is to refresh the entire page, you need to add the &lt;CODE&gt;refresh&lt;/CODE&gt; attribute and indicate the interval in seconds.&lt;/P&gt;

&lt;P&gt;For example, change your first line of XML to this to refresh every 30 seconds:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard refresh="30"&amp;gt; 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#Dashboards_and_forms"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#Dashboards_and_forms&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 06:30:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348237#M43121</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-08T06:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348238#M43122</link>
      <description>&lt;P&gt;You have multiple options. &lt;/P&gt;

&lt;P&gt;If you are on Splunk 6.5 you can perform individual Panel refresh instead of the entire dashboard:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;refresh&amp;gt;2m&amp;lt;/refresh&amp;gt;
      &amp;lt;refreshType&amp;gt;delay&amp;lt;/refreshType&amp;gt;
      &amp;lt;option name="refresh.display"&amp;gt;preview&amp;lt;/option&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Other options for "refresh.display" are - &lt;STRONG&gt;none&lt;/STRONG&gt; and &lt;STRONG&gt;progressbar&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;With any version of Splunk, based on whether you have form or dashboard you can set refresh interval in seconds in the root node. For example in dashboard it will be&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;dashboard refresh="120"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please also check whether you need real-time search with 2 min window or dashboard refresh or individual panel refresh every two minutes. Evaluate performance considerations for each scenario.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 06:38:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348238#M43122</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-03-08T06:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348239#M43123</link>
      <description>&lt;P&gt;I added the above line right before the code but it gives out an error as:&lt;/P&gt;

&lt;P&gt;Encountered the following error while trying to update: In handler 'views': Error parsing XML on line 355: Premature end of data in tag form line 1&lt;/P&gt;

&lt;P&gt;DCHE DASHBOARD&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 06:49:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348239#M43123</guid>
      <dc:creator>bharpur183</dc:creator>
      <dc:date>2017-03-08T06:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348240#M43124</link>
      <description>&lt;P&gt;As I had mentioned this is based on the type of view you are using... it will be either dashboard or form...in your case seems like you are using a form with inputs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   &amp;lt;form refresh="120"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Mar 2017 09:25:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348240#M43124</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-03-08T09:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348241#M43125</link>
      <description>&lt;P&gt;but where in the xml does the above line go ?&lt;/P&gt;

&lt;P&gt;wherever I enter it , it just errors out.&lt;BR /&gt;
Sorry ,but am still new to splunk.&lt;/P&gt;

&lt;P&gt;This is the first few lines of the code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form refresh="120"&amp;gt;========================================&amp;gt;&amp;gt;&amp;gt;&amp;gt; ENTERED HERE ?
&amp;lt;input type="time" token="time_skip"&amp;gt;
  &amp;lt;label&amp;gt;&amp;lt;/label&amp;gt;
  &amp;lt;default&amp;gt;
    &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
    &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
  &amp;lt;/default&amp;gt;
&amp;lt;/input&amp;gt;


&amp;lt;panel&amp;gt;
  &amp;lt;title&amp;gt;NETWORK 1&amp;lt;/title&amp;gt;
  &amp;lt;single&amp;gt;
    &amp;lt;title&amp;gt;Most Recent CIRCUIT HIT ID&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;sourcetype=almn netdevice!=null ifname=* DCNETWORK | eval fields=split(ifname," ") | eval ifname=mvindex(fields,1) |table _time netdevice ifname almn_msg | dedup netdevice ifname| lookup circuit_info.csv local_device as netdevice, local_port as ifname | search circuit_id!=null | fields _time netdevice ifname almn_msg span carrier circuit_type cloud remote_device remote_port local_node l_96csm_port remote_node r_96csm_port circuit_id | top circuit_id&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;$time_skip.earliest$&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;$time_skip.latest$&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Mar 2017 09:35:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348241#M43125</guid>
      <dc:creator>bharpur183</dc:creator>
      <dc:date>2017-03-08T09:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348242#M43126</link>
      <description>&lt;P&gt;@bharpur183 Yes it should be the first line... Usually label and description follow after these and then the code starts like fieldsets with inputs and then row panel vizualizations etc.&lt;/P&gt;

&lt;P&gt;Refer to following two documentation if you want to understand forms and Simple XML reference&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/Buildandeditforms"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Viz/Buildandeditforms&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 12:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348242#M43126</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-03-08T12:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348243#M43127</link>
      <description>&lt;P&gt;@bharpur183... Were you able to try as above?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 10:39:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348243#M43127</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-03-09T10:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348244#M43128</link>
      <description>&lt;P&gt;@niketnilay   Yes. I was finally able to get it working.&lt;BR /&gt;
I was actually adding the above line on the first line as a new one like&lt;/P&gt;

&lt;P&gt;But i realized later that the first  need to go away and once I did that it worked like a charm.&lt;/P&gt;

&lt;P&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 11:18:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348244#M43128</guid>
      <dc:creator>bharpur183</dc:creator>
      <dc:date>2017-03-09T11:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Auto refresh a dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348245#M43129</link>
      <description>&lt;P&gt;We use that option in almost all of our dashboards, but when Splunk autorefresh (due to this parameter) we cannot analyze this action with a query like:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;index=_internal sourcetype=splunkd_ui_access uri_path=/app/ user!="-" AppName= ViewName= ViewName!=contents ViewName!=search .......&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;We can monitor user navigation between dashboads, but nt refresh when they stay in a dashboard...&lt;BR /&gt;
Any ideas to monitor these autorefresh actions?&lt;/P&gt;

&lt;P&gt;Thanks a lot in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:39:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Auto-refresh-a-dashboard/m-p/348245#M43129</guid>
      <dc:creator>Javip</dc:creator>
      <dc:date>2020-09-29T15:39:21Z</dc:date>
    </item>
  </channel>
</rss>

