<?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: refresh specific panel with javascript buton in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-refresh-specific-panel-with-javascript-button/m-p/587409#M48179</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64318"&gt;@sandyBDF&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could you please share the solution, if you got one?&lt;BR /&gt;&lt;BR /&gt;Thxs&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2022 10:01:04 GMT</pubDate>
    <dc:creator>sdhiaeddine</dc:creator>
    <dc:date>2022-03-03T10:01:04Z</dc:date>
    <item>
      <title>How to refresh specific panel with javascript button?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-refresh-specific-panel-with-javascript-button/m-p/469189#M30811</link>
      <description>&lt;P&gt;hi every one i try to refresh a specific panel, i follow the splunk answers but not work for me, i have a buton like this :&lt;/P&gt;
&lt;P&gt;id="button_update" class="btn" data-set-token="run_check" data-value="true" style="background-color:#68E674;"&lt;/P&gt;
&lt;P&gt;and search&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;query&amp;gt;|test.csv | stats count&amp;lt;/query&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;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and javascript &amp;amp;colon;&lt;BR /&gt;require([&lt;BR /&gt;'underscore',&lt;BR /&gt;'jquery',&lt;BR /&gt;'splunkjs/mvc',&lt;BR /&gt;'splunkjs/mvc/tableview',&lt;BR /&gt;'splunkjs/mvc/simplexml/ready!'&lt;BR /&gt;], function(_, $, mvc, TableView) {&lt;/P&gt;
&lt;P&gt;$(document).ready(function () {&lt;BR /&gt;$("button_update").on("click", function (e) {&lt;BR /&gt;var mySearch = mvc.Components.get("toto");&lt;BR /&gt;mySearch.startSearch();&lt;BR /&gt;});&lt;BR /&gt;});&lt;/P&gt;
&lt;P&gt;});&lt;/P&gt;
&lt;P&gt;but the search never refresh someone can help me ?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 17:27:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-refresh-specific-panel-with-javascript-button/m-p/469189#M30811</guid>
      <dc:creator>sandyBDF</dc:creator>
      <dc:date>2022-03-03T17:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: refresh specific panel with javascript buton</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-refresh-specific-panel-with-javascript-button/m-p/469190#M30812</link>
      <description>&lt;P&gt;@sandyBDF,  You can refresh panel by default on hovering to panel bottom left side below-&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/9019iCD157F4EAFC8D0CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;So is there any specific requirement to create button or above default refresh in panel resolves your issue.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 02:47:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-refresh-specific-panel-with-javascript-button/m-p/469190#M30812</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2020-06-01T02:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: refresh specific panel with javascript buton</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-refresh-specific-panel-with-javascript-button/m-p/469191#M30813</link>
      <description>&lt;P&gt;Hi, i Know that, but i want do the same thing with a visual buton not this one.&lt;/P&gt;

&lt;P&gt;So many people succes with javascript. So i will thank people if they can put the entire code for i do the same thing.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 05:42:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-refresh-specific-panel-with-javascript-button/m-p/469191#M30813</guid>
      <dc:creator>sandyBDF</dc:creator>
      <dc:date>2020-06-01T05:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: refresh specific panel with javascript buton</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-refresh-specific-panel-with-javascript-button/m-p/587409#M48179</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64318"&gt;@sandyBDF&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Could you please share the solution, if you got one?&lt;BR /&gt;&lt;BR /&gt;Thxs&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 10:01:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-refresh-specific-panel-with-javascript-button/m-p/587409#M48179</guid>
      <dc:creator>sdhiaeddine</dc:creator>
      <dc:date>2022-03-03T10:01:04Z</dc:date>
    </item>
  </channel>
</rss>

