<?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 to drill down from a Splunk dashboard to an external URL? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234386#M14500</link>
    <description>&lt;P&gt;That led me down the right path. I used other information in the log to rebuild the url. Thank you!&lt;/P&gt;</description>
    <pubDate>Wed, 05 Oct 2016 22:14:00 GMT</pubDate>
    <dc:creator>clarkwh2</dc:creator>
    <dc:date>2016-10-05T22:14:00Z</dc:date>
    <item>
      <title>How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234382#M14496</link>
      <description>&lt;P&gt;I am working on a custom dashboard for one of our security tools that doesn't need anything fancy like it's own app. All I want to do is be able to "drilldown" on an event and have that take me to an external tool's url. Currently my xml for the dashboard looks something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=tool earliest=1@d | table user score url | sort -score&amp;lt;/query&amp;gt;
          &amp;lt;fields&amp;gt;user, score&amp;lt;/fields&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.overflowMode"&amp;gt;ellipsisNone&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisLabelsX.majorLabelStyle.rotation"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleX.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisTitleY2.visibility"&amp;gt;visible&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisX.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY.scale"&amp;gt;linear&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.enabled"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.axisY2.scale"&amp;gt;inherit&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMaximumSize"&amp;gt;50&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleMinimumSize"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.bubbleSizeBy"&amp;gt;area&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.nullValueMode"&amp;gt;gaps&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.showDataLabels"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.sliceCollapsingThreshold"&amp;gt;0.01&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.stackMode"&amp;gt;default&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.chart.style"&amp;gt;shiny&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.layout.splitSeries.allowIndependentYRanges"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.labelStyle.overflowMode"&amp;gt;ellipsisMiddle&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.legend.placement"&amp;gt;right&amp;lt;/option&amp;gt;
        &amp;lt;drilldown target="_blank"&amp;gt;
          &amp;lt;link&amp;gt;
            &amp;lt;![CDATA[ $row.url$ ]]&amp;gt;
          &amp;lt;/link&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the XML above, when I click on an event, it captures the url from the log, but it appends it to the Splunk url. How to I get it to just open the url? I have been working on this for a couple of days so any help is much appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234382#M14496</guid>
      <dc:creator>clarkwh2</dc:creator>
      <dc:date>2016-10-05T21:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234383#M14497</link>
      <description>&lt;P&gt;Here is a runanywhere sample, you can copy this and try it. In the drilldown, I remove the "http" string and hardcode the protocol string in the &lt;CODE&gt;link&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Test Dashboard&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults | eval url="http://www.splunk.com" | table *&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;eval token="u"&amp;gt;replace($row.url$, "http://", ""&amp;lt;/eval&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;
            &amp;lt;![CDATA[ &lt;A href="http://$u$" target="test_blank"&gt;http://$u$&lt;/A&gt; ]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:39:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234383#M14497</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-05T21:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234384#M14498</link>
      <description>&lt;P&gt;When I do that, it forwards me to &lt;A href="http://%24u%24...I" target="test_blank"&gt;http://%24u%24...I&lt;/A&gt; am guessing that that isn't what is supposed to happen?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 21:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234384#M14498</guid>
      <dc:creator>clarkwh2</dc:creator>
      <dc:date>2016-10-05T21:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234385#M14499</link>
      <description>&lt;P&gt;hmmm... that's interesting. It's supposed take you to the URL. Which version of Splunk? &lt;/P&gt;

&lt;P&gt;Try this &lt;BR /&gt;
 - remove the "http" in the main query ( &lt;CODE&gt;eval url="www.splunk.com"&lt;/CODE&gt;) &lt;BR /&gt;
 - remove the &lt;CODE&gt;eval&lt;/CODE&gt; tag &lt;BR /&gt;
 - change link to &lt;CODE&gt;&lt;A href="http://$row.url$" target="test_blank"&gt;http://$row.url$&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 22:03:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234385#M14499</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-05T22:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234386#M14500</link>
      <description>&lt;P&gt;That led me down the right path. I used other information in the log to rebuild the url. Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 22:14:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234386#M14500</guid>
      <dc:creator>clarkwh2</dc:creator>
      <dc:date>2016-10-05T22:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234387#M14501</link>
      <description>&lt;P&gt;I also can't get drilldown to external URL to work. The field ConsoleUrl has the entire url. Using it does not work. Tried removing the https:// and then hard coding it into the drill down link. When clicking on a row in the table get redirected to about:blank.&lt;/P&gt;

&lt;P&gt;I am using Splunk 6.5. Really need to get this working. Any help will be appreciated. Thanks.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Failed Reports&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;sourcetype=MobileDiagnosticsReportData Status=Fail DeviceName="$device_tok$" 
               | replace "https://*" with "*" in ConsoleUrl
               | table _time DeviceName UserName Platform PhoneNumbers ProbableRootCause ReportID ConsoleUrl 
               | sort - _time
          &amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;&amp;lt;/earliest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link&amp;gt;
            &amp;lt;![CDATA[https://$row.ConsoleUrl$]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;     
      &amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Oct 2016 19:29:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234387#M14501</guid>
      <dc:creator>simpkins1958</dc:creator>
      <dc:date>2016-10-06T19:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234388#M14502</link>
      <description>&lt;P&gt;If I change the drill down link to hard code most of the full URL and use $row.ReportID$ the external link works fine. Something is not working correctly when the field has a full URL.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;
            &amp;lt;![CDATA[https://narwhal.qanmw.com:8080/MobileDiagnostics/ReportView.aspx?guid=$row.ReportID$]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;   
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 06 Oct 2016 19:44:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234388#M14502</guid>
      <dc:creator>simpkins1958</dc:creator>
      <dc:date>2016-10-06T19:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234389#M14503</link>
      <description>&lt;P&gt;There are similar drilldown examples in the &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;Splunk 6.x Dashboard Examples&lt;/A&gt; app, too.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2016 20:17:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234389#M14503</guid>
      <dc:creator>ChrisG</dc:creator>
      <dc:date>2016-10-06T20:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234390#M14504</link>
      <description>&lt;OL&gt;
&lt;LI&gt;use the link tag&lt;/LI&gt;
&lt;LI&gt;$click.value2|n$
-note- the pipe n takes the token w/o escaping special characters &lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 09 Jun 2017 14:47:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234390#M14504</guid>
      <dc:creator>wschulze</dc:creator>
      <dc:date>2017-06-09T14:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234391#M14505</link>
      <description>&lt;P&gt;This worked great!  Thank you.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 15:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234391#M14505</guid>
      <dc:creator>TonyLeeVT</dc:creator>
      <dc:date>2018-11-29T15:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234392#M14506</link>
      <description>&lt;P&gt;This is the answer&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 18:39:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234392#M14506</guid>
      <dc:creator>mgarciar</dc:creator>
      <dc:date>2019-11-12T18:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to drill down from a Splunk dashboard to an external URL?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234393#M14507</link>
      <description>&lt;P&gt;This works! Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 01:10:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-drill-down-from-a-Splunk-dashboard-to-an-external-URL/m-p/234393#M14507</guid>
      <dc:creator>riddellkevin</dc:creator>
      <dc:date>2020-02-05T01:10:39Z</dc:date>
    </item>
  </channel>
</rss>

