<?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 Can we send the XML dashboard(with multiple panels) link in email scheduled every hour? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470167#M30859</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;We want to add the dashboard(not the PDF) link in the email, so that whenever the user clicks on the link can access the dashboard which displays the data for last 1 hr from the &lt;EM&gt;time of generation of email&lt;/EM&gt;.&lt;BR /&gt;
Thinking that we can fetch the email generation time as the &lt;EM&gt;latest time&lt;/EM&gt; of dashboard base search through the link present in email message.&lt;BR /&gt;
suppose &lt;BR /&gt;
 email message :  link to dashboard:&lt;EM&gt;"//localhost:port/dashboard"&lt;/EM&gt;&lt;BR /&gt;
dashboard base search: &lt;EM&gt;&lt;CODE&gt;&amp;lt;query&amp;gt; .....&amp;lt;/query&amp;gt; &amp;lt;earliest&amp;gt;-1h&amp;lt;/earliest&amp;gt; &amp;lt;latest&amp;gt;$tok$&amp;lt;/latest&amp;gt;&lt;/CODE&gt;&lt;/EM&gt;&lt;BR /&gt;
this &lt;EM&gt;$tok$&lt;/EM&gt; in dashboard should fetch the email generation time in supported format.&lt;BR /&gt;
Is it possible?&lt;BR /&gt;
correct me with the approach.&lt;BR /&gt;
please help in achieving this.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2020 06:30:08 GMT</pubDate>
    <dc:creator>chaitanya1996</dc:creator>
    <dc:date>2020-02-11T06:30:08Z</dc:date>
    <item>
      <title>Can we send the XML dashboard(with multiple panels) link in email scheduled every hour?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470167#M30859</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;We want to add the dashboard(not the PDF) link in the email, so that whenever the user clicks on the link can access the dashboard which displays the data for last 1 hr from the &lt;EM&gt;time of generation of email&lt;/EM&gt;.&lt;BR /&gt;
Thinking that we can fetch the email generation time as the &lt;EM&gt;latest time&lt;/EM&gt; of dashboard base search through the link present in email message.&lt;BR /&gt;
suppose &lt;BR /&gt;
 email message :  link to dashboard:&lt;EM&gt;"//localhost:port/dashboard"&lt;/EM&gt;&lt;BR /&gt;
dashboard base search: &lt;EM&gt;&lt;CODE&gt;&amp;lt;query&amp;gt; .....&amp;lt;/query&amp;gt; &amp;lt;earliest&amp;gt;-1h&amp;lt;/earliest&amp;gt; &amp;lt;latest&amp;gt;$tok$&amp;lt;/latest&amp;gt;&lt;/CODE&gt;&lt;/EM&gt;&lt;BR /&gt;
this &lt;EM&gt;$tok$&lt;/EM&gt; in dashboard should fetch the email generation time in supported format.&lt;BR /&gt;
Is it possible?&lt;BR /&gt;
correct me with the approach.&lt;BR /&gt;
please help in achieving this.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 06:30:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470167#M30859</guid>
      <dc:creator>chaitanya1996</dc:creator>
      <dc:date>2020-02-11T06:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can we send the XML dashboard(with multiple panels) link in email scheduled every hour?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470168#M30860</link>
      <description>&lt;P&gt;Hi @chaitanya1996 ,&lt;/P&gt;

&lt;P&gt;try this &lt;STRONG&gt;$job.earliestTime$&lt;/STRONG&gt; - &lt;STRONG&gt;$job.latestTime$&lt;/STRONG&gt;  to get earliest and latest time in your  alert mail and pass this variable as query parameter in your dashboard URL.&lt;/P&gt;

&lt;P&gt;your dashboard link -&amp;gt; link to dashboard:&lt;A href="http://localhost:8000/en-US/app/myapp/last1hr?form.earliest=$job.earliestTime$&amp;amp;form.latest=$job.latestTime$"&gt;http://localhost:8000/en-US/app/myapp/last1hr?form.earliest=$job.earliestTime$&amp;amp;form.latest=$job.latestTime$&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 13:10:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470168#M30860</guid>
      <dc:creator>ajitshukla61116</dc:creator>
      <dc:date>2020-02-11T13:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can we send the XML dashboard(with multiple panels) link in email scheduled every hour?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470169#M30861</link>
      <description>&lt;P&gt;Sort of&lt;/P&gt;

&lt;P&gt;You could create an Alert&lt;/P&gt;

&lt;P&gt;You could schedule a Report&lt;/P&gt;

&lt;P&gt;Or you can use the email PDF feature of a dashboard&lt;/P&gt;

&lt;P&gt;The last option, if someone clicks on the link in the email, will load the dashboard "now" (though the PDF will be as-of when it was sent)&lt;/P&gt;

&lt;P&gt;But Splunk searches are generally intended to be look at "live" (ie relative time window) data, and not "snapshotted" (fixed time window) data (more or less - that's not absolute, there are exceptions, etc)&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 15:45:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470169#M30861</guid>
      <dc:creator>wmyersas</dc:creator>
      <dc:date>2020-02-11T15:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can we send the XML dashboard(with multiple panels) link in email scheduled every hour?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470170#M30862</link>
      <description>&lt;P&gt;Hi @ajitshukla61116 ,&lt;/P&gt;

&lt;P&gt;yeah it works fine.&lt;BR /&gt;
I have used time input field in dashboard with token value as &lt;EM&gt;"time"&lt;/EM&gt; and i have passed the url as: &lt;A href="https://localhost:8000/en-US/app//?form.time.earliest=$job.earliestTime$&amp;amp;form.time.latest=$job.latestTime$"&gt;https://localhost:8000/en-US/app//?form.time.earliest=$job.earliestTime$&amp;amp;form.time.latest=$job.latestTime$&lt;/A&gt; in the email message.&lt;BR /&gt;
thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 04:55:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470170#M30862</guid>
      <dc:creator>chaitanya1996</dc:creator>
      <dc:date>2020-02-12T04:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can we send the XML dashboard(with multiple panels) link in email scheduled every hour?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470171#M30863</link>
      <description>&lt;P&gt;glad to hear that it work fine &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 05:09:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-send-the-XML-dashboard-with-multiple-panels-link-in-email/m-p/470171#M30863</guid>
      <dc:creator>ajitshukla61116</dc:creator>
      <dc:date>2020-02-12T05:09:20Z</dc:date>
    </item>
  </channel>
</rss>

