<?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: Download Button in the Dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/675390#M55308</link>
    <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/117888"&gt;@splunksumman&lt;/a&gt;&lt;/SPAN&gt; &amp;nbsp;-&lt;/P&gt;
&lt;P&gt;I’m a Community Moderator in the Splunk Community.&amp;nbsp;&lt;BR /&gt;This question was posted 1 year ago, so it might not get the attention you need for your question to be answered. We recommend that you post a new question so that your issue can get the &amp;nbsp;visibility it deserves. To increase your chances of getting help from the community, follow &lt;A href="http://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Questions" target="_blank"&gt;&lt;U&gt;these guidelines&lt;/U&gt;&lt;/A&gt; in the Splunk Answers User Manual when creating your post.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 15:04:00 GMT</pubDate>
    <dc:creator>DanielPi</dc:creator>
    <dc:date>2024-01-25T15:04:00Z</dc:date>
    <item>
      <title>How to create a Download Report Button in the Dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/618877#M50835</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm having a hard time creating a download button.&lt;BR /&gt;I have a scheduled report every day.&lt;BR /&gt;I would like to create a button in the dashbard that downloads that report.&lt;BR /&gt;I cannot use js.&lt;BR /&gt;Can you help me?&lt;BR /&gt;I found a way to download the query created but so I also view the table and I don't want to show it, just download the result.&lt;/P&gt;
&lt;P&gt;Tks&lt;BR /&gt;Bye&lt;BR /&gt;Antonio&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 09:16:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/618877#M50835</guid>
      <dc:creator>antonio147</dc:creator>
      <dc:date>2022-10-31T09:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Download Button in the Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/618881#M50837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/227223"&gt;@antonio147&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not an expert of HTML but I think that it isn't possible without using a JS.&lt;/P&gt;&lt;P&gt;As a workaround, you could use the standard "Export" button present in every panel.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 08:25:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/618881#M50837</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-10-31T08:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Download Button in the Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/618885#M50839</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;BR /&gt;I managed to create a download button for a table that I showed above without using js.&lt;BR /&gt;so :&lt;/P&gt;&lt;P&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;table&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;done&amp;gt;&lt;BR /&gt;&amp;lt;eval token="date"&amp;gt;strftime(now(), "%d-%m-%Y")&amp;lt;/eval&amp;gt;&lt;BR /&gt;&amp;lt;set token="file_name"&amp;gt;Tabella_Completa&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;set token="sid"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;/done&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;query&amp;gt;| loadjob savedsearch="antoino:enterprise:AGGREGATO_DATE"&lt;BR /&gt;|rename 00_MESE_PRECEDENTE as "MESE_ATTUALE"&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;a href="/api/search/jobs/$sid$/results?isDownload=true&amp;amp;amp;timeFormat=%25FT%25T.%25Q%25%3Az&amp;amp;amp;maxLines=0&amp;amp;amp;count=0&amp;amp;amp;filename=$file_name$_$date$.csv&amp;amp;amp;outputMode=csv" class="button js-button"&amp;gt;Estrai Pratiche&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;.button {&lt;BR /&gt;background-color: steelblue;&lt;BR /&gt;border-radius: 5px;&lt;BR /&gt;color: white;&lt;BR /&gt;padding: .5em;&lt;BR /&gt;text-decoration: none;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;.button:focus,&lt;BR /&gt;.button:hover {&lt;BR /&gt;background-color: #2A4E6C;&lt;BR /&gt;color: White;&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Now my need is to give the possibility to download a report that is in crontab on the Report panel.&lt;BR /&gt;I tried to insert it in a table and this is how it works but I can't put the table "hidden".&lt;BR /&gt;Also tried with the condition but it doesn't work.&lt;BR /&gt;Thanks for your answer&lt;BR /&gt;Antonio&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 08:52:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/618885#M50839</guid>
      <dc:creator>antonio147</dc:creator>
      <dc:date>2022-10-31T08:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Download Button in the Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/618916#M50840</link>
      <description>&lt;P&gt;Below is the code for the button.&lt;BR /&gt;I solved&lt;BR /&gt;I ask the most skilled if this solution can fit&lt;BR /&gt;&lt;BR /&gt;bye&lt;BR /&gt;Antonio&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;search&amp;gt;
&amp;lt;query&amp;gt;| loadjob savedsearch="antonio:enterprise:Report"
&amp;lt;/query&amp;gt;
&amp;lt;done&amp;gt;
&amp;lt;eval token="date"&amp;gt;strftime(now(), "%d-%m-%Y")&amp;lt;/eval&amp;gt;
&amp;lt;set token="file_name"&amp;gt;Report&amp;lt;/set&amp;gt;
&amp;lt;set token="sid"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
&amp;lt;/done&amp;gt;
&amp;lt;/search&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;BR/&amp;gt;
&amp;lt;div style="float: left"&amp;gt;
&amp;lt;a href="/api/search/jobs/$sid$/results?isDownload=true&amp;amp;amp;timeFormat=%25FT%25T.%25Q%25%3Az&amp;amp;amp;maxLines=0&amp;amp;amp;count=0&amp;amp;amp;filename=$file_name$_$date$.csv&amp;amp;amp;outputMode=csv" class="button js-button"&amp;gt;Download Data&amp;lt;/a&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;style&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 13:19:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/618916#M50840</guid>
      <dc:creator>antonio147</dc:creator>
      <dc:date>2022-10-31T13:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Download Button in the Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/675381#M55302</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Does anyone know what is the updated code for the v2 endpoint? I am trying to deploy apps with this config to Splunk Cloud but the vetting fails because new version of Splunk doesnt support old endpoint&lt;/P&gt;&lt;P&gt;I tried adapting the line of code for the button with the documentation, but it doesnt download anything and redirects to a 404 page.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 13:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/675381#M55302</guid>
      <dc:creator>splunksumman</dc:creator>
      <dc:date>2024-01-25T13:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Download Button in the Dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/675390#M55308</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/117888"&gt;@splunksumman&lt;/a&gt;&lt;/SPAN&gt; &amp;nbsp;-&lt;/P&gt;
&lt;P&gt;I’m a Community Moderator in the Splunk Community.&amp;nbsp;&lt;BR /&gt;This question was posted 1 year ago, so it might not get the attention you need for your question to be answered. We recommend that you post a new question so that your issue can get the &amp;nbsp;visibility it deserves. To increase your chances of getting help from the community, follow &lt;A href="http://docs.splunk.com/Documentation/Splunkbase/splunkbase/Answers/Questions" target="_blank"&gt;&lt;U&gt;these guidelines&lt;/U&gt;&lt;/A&gt; in the Splunk Answers User Manual when creating your post.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 15:04:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-Download-Report-Button-in-the-Dashboard/m-p/675390#M55308</guid>
      <dc:creator>DanielPi</dc:creator>
      <dc:date>2024-01-25T15:04:00Z</dc:date>
    </item>
  </channel>
</rss>

