<?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: How do I place a hyperlink in a dashboard pdf report? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395393#M41076</link>
    <description>&lt;P&gt;A powershell script gets the info and sends an html email and also sends this info into splunk. The html email's link works and looking at the dashboard in splunk on a browser, the link works.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Aug 2018 14:13:45 GMT</pubDate>
    <dc:creator>victorj405</dc:creator>
    <dc:date>2018-08-14T14:13:45Z</dc:date>
    <item>
      <title>How do I place a hyperlink in a dashboard pdf report?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395388#M41071</link>
      <description>&lt;P&gt;I am creating a splunk dashboard with a few reports.&lt;BR /&gt;
On one report (outputted as a table), I want a long url to be replaced by a short number.&lt;BR /&gt;
When clicking that number (VIA THE PDF DASHBOARD REPORT) , I want it to go to the external url.&lt;BR /&gt;
Placing just the url works, but it's broken cause it's to long and wont open the full URL.&lt;/P&gt;

&lt;P&gt;I followed the following guide:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/542437/how-can-i-show-customized-hyperlink-text-on-a-dash.html"&gt;https://answers.splunk.com/answers/542437/how-can-i-show-customized-hyperlink-text-on-a-dash.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It works while viewing the dashboard in a browser except for I still don't know how to edit the link correctly.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Report&amp;lt;/title&amp;gt;
        &amp;lt;search ref="Report"&amp;gt;&amp;lt;/search&amp;gt;
        &amp;lt;fields&amp;gt;Name, QueueTime, FinishTime, Result, BuildId&amp;lt;/fields&amp;gt;
        &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;drilldown target="_blank"&amp;gt;
          &amp;lt;condition field="BuildId"&amp;gt;
            &amp;lt;link target="_blank"&amp;gt;
              $row.URL$          # Not working . URL is the name of the filed with the long url that I want replaced by another field with a short number
              &lt;A href="https://google.com" target="test_blank"&gt;https://google.com&lt;/A&gt; # Works
            &amp;lt;/link&amp;gt;
          &amp;lt;/condition&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;PRE&gt;&lt;CODE&gt;index="reports"
| where (source LIKE "%Report%")
| eval BuildId = Id + ""
| table Name, QueueTime, FinishTime, Result
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Aug 2018 19:09:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395388#M41071</guid>
      <dc:creator>victorj405</dc:creator>
      <dc:date>2018-08-08T19:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place a hyperlink in a dashboard pdf report?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395389#M41072</link>
      <description>&lt;P&gt;Have you verified that the url works when pasted into the browser?  Perhaps it has not been constructed correctly.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Aug 2018 03:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395389#M41072</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2018-08-11T03:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place a hyperlink in a dashboard pdf report?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395390#M41073</link>
      <description>&lt;P&gt;What is broken about the link that it is putting into the PDF?&lt;/P&gt;

&lt;P&gt;Does the link fail to word-wrap and doesn’t fit on the page?&lt;/P&gt;

&lt;P&gt;Or is it not a valid hyperlink you can click on?  &lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2018 12:47:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395390#M41073</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-08-12T12:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place a hyperlink in a dashboard pdf report?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395391#M41074</link>
      <description>&lt;P&gt;I tried getting the $row.URL$ to work, but it doesn't. Not sure what I am doing wrong. The generated URL field itself is correct.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:09:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395391#M41074</guid>
      <dc:creator>victorj405</dc:creator>
      <dc:date>2018-08-14T14:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place a hyperlink in a dashboard pdf report?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395392#M41075</link>
      <description>&lt;P&gt;If I just add the URL itself in a table, the link is clickable in the PDF, but it's to long and the browser will only open what hasn't went to the second line. The URL field itself is correct&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:12:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395392#M41075</guid>
      <dc:creator>victorj405</dc:creator>
      <dc:date>2018-08-14T14:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place a hyperlink in a dashboard pdf report?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395393#M41076</link>
      <description>&lt;P&gt;A powershell script gets the info and sends an html email and also sends this info into splunk. The html email's link works and looking at the dashboard in splunk on a browser, the link works.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395393#M41076</guid>
      <dc:creator>victorj405</dc:creator>
      <dc:date>2018-08-14T14:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I place a hyperlink in a dashboard pdf report?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395394#M41077</link>
      <description>&lt;P&gt;So if I gave you a custom search command that uses bit.ly service to shorten urls, would you be interested knowing that it’s giving bit.ly all your links but providing the short url and also statistics on their usage?&lt;/P&gt;

&lt;P&gt;It would work like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ... | bitly urlfield=fieldWithLongURLs | eval url = bitly_output | table url ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Aug 2018 18:42:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-place-a-hyperlink-in-a-dashboard-pdf-report/m-p/395394#M41077</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-08-14T18:42:16Z</dc:date>
    </item>
  </channel>
</rss>

