<?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: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347789#M22676</link>
    <description>&lt;P&gt;@niketnilay&lt;/P&gt;</description>
    <pubDate>Tue, 13 Mar 2018 15:37:49 GMT</pubDate>
    <dc:creator>arayapati83</dc:creator>
    <dc:date>2018-03-13T15:37:49Z</dc:date>
    <item>
      <title>[BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347788#M22675</link>
      <description>&lt;P&gt;I have a requirement to schedule a PDF weekly/monthly etc and show the Title of each section representing the Day From and Day To.&lt;/P&gt;

&lt;P&gt;I created dynamic tokens and put that in the title. The dashboard shows it and when I click &lt;CODE&gt;export PDF&lt;/CODE&gt; it shows appropriate dates but when I &lt;CODE&gt;schedule a PDF&lt;/CODE&gt; the Auto Scheduled PDF doesn't show the dates, instead it shows $token_XX$ which means the tokens are not getting resolved with the auto scheduled PDF. &lt;/P&gt;

&lt;P&gt;Modified the search query as I cant paste the original&lt;/P&gt;

&lt;P&gt;Daily Stats - Report&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search&amp;gt;  
 &amp;lt;query&amp;gt;| makeresults
    | eval currentDate=strftime(relative_time(now(),"-1d"),"%m/%d/%Y")
    | eval minus1Date=strftime(relative_time(now(),"-1d"),"%m/%d/%Y")&amp;lt;/query&amp;gt;
 &amp;lt;earliest&amp;gt;-1s@s&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;done&amp;gt;
   &amp;lt;set token="tok_cur_Date"&amp;gt;$result.currentDate$&amp;lt;/set&amp;gt;
   &amp;lt;set token="tok_minus1_Date"&amp;gt;$result.minus1Date$&amp;lt;/set&amp;gt;
 &amp;lt;/done&amp;gt;
&amp;lt;/search&amp;gt;
&amp;lt;panel&amp;gt;
  &amp;lt;html&amp;gt;
    &amp;lt;style&amp;gt;.chartTitleText {font-size: 16px; font-weight:bold;}&amp;lt;/style&amp;gt;
    &amp;lt;p class="chartTitleText"&amp;gt;$tok_minus1_Date$ to $tok_cur_Date$&amp;lt;/p&amp;gt;
  &amp;lt;/html&amp;gt;
  &amp;lt;single&amp;gt;
    &amp;lt;title&amp;gt;Availability (Rounded after 2 Decimals)&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;index="prod" source="*" | stats count(eval(isSuccessful="Y"))  as SUCCESS_COUNT count as TOTAL | eval ATB=SUCCESS_COUNT/TOTAL*100 | table ATB&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;-1d@d&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
  &amp;lt;/single&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 13 Mar 2018 15:24:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347788#M22675</guid>
      <dc:creator>arayapati83</dc:creator>
      <dc:date>2018-03-13T15:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347789#M22676</link>
      <description>&lt;P&gt;@niketnilay&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 15:37:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347789#M22676</guid>
      <dc:creator>arayapati83</dc:creator>
      <dc:date>2018-03-13T15:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347790#M22677</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Check this doc:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.0/Viz/DashboardPDFs#Limitations_to_PDF_generation"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.0/Viz/DashboardPDFs#Limitations_to_PDF_generation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 09:03:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347790#M22677</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-14T09:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347791#M22678</link>
      <description>&lt;P&gt;@arayapati83 I have updated your question to highlight your issue. Also adding the reference to the previous question where the issue is discussed: &lt;A href="https://answers.splunk.com/answers/526670/display-datetime-range-in-dashbaord.html"&gt;https://answers.splunk.com/answers/526670/display-datetime-range-in-dashbaord.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;As requested, if you have Splunk Entitlement, please reach out to Splunk Support to have the issue resolved!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 10:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347791#M22678</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-03-14T10:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347792#M22679</link>
      <description>&lt;P&gt;@p_gurav  so r u saying its not possible at all?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:45:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347792#M22679</guid>
      <dc:creator>arayapati83</dc:creator>
      <dc:date>2018-03-15T16:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347793#M22680</link>
      <description>&lt;P&gt;@niketnilay  when you say splunk support are u saying to reach splunk support team at my organization?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 16:46:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347793#M22680</guid>
      <dc:creator>arayapati83</dc:creator>
      <dc:date>2018-03-15T16:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347794#M22681</link>
      <description>&lt;P&gt;If your organisation has purchased Splunk Support there would be an Entitlement Number which can be used to create a ticket with Splunk Support Team.&lt;/P&gt;

&lt;P&gt;You can begin with your own Splunk Support Team for the details on this.&lt;/P&gt;

&lt;P&gt;Could you also let us know as to what is the schedule of the Dashboard PDF generation?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2018 17:43:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347794#M22681</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-03-15T17:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347795#M22682</link>
      <description>&lt;P&gt;@niketnilay we have multiple.. monthly and quarterly is what we are most interested in&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2018 19:51:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347795#M22682</guid>
      <dc:creator>arayapati83</dc:creator>
      <dc:date>2018-03-16T19:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347796#M22683</link>
      <description>&lt;P&gt;I would say do it manually until issue is resolved. Figure out who can create a case with Splunk Support or whether they have a workaround.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Mar 2018 03:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347796#M22683</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-03-19T03:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: [BUG] Why SPLUNK Dashboard export PDF resolves Tokens but Scheduled PDF does not</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347797#M22684</link>
      <description>&lt;P&gt;Refer to the below URL. This document clearly says that "Search result" and "Job information" tokens are not available for Scheduled PDF Delivery. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.1/Alert/EmailNotificationTokens#Tokens_available_for_email_notification"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.1/Alert/EmailNotificationTokens#Tokens_available_for_email_notification&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For scheduled PDF delivery, you can use tokens in the following fields of an email:&lt;/P&gt;

&lt;P&gt;Subject&lt;BR /&gt;
Message&lt;BR /&gt;
Footer&lt;/P&gt;

&lt;P&gt;See below document for more information. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.2/Viz/DashboardPDFs"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.2/Viz/DashboardPDFs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 09:36:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/BUG-Why-SPLUNK-Dashboard-export-PDF-resolves-Tokens-but/m-p/347797#M22684</guid>
      <dc:creator>khusain_splunk</dc:creator>
      <dc:date>2018-08-14T09:36:19Z</dc:date>
    </item>
  </channel>
</rss>

