<?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 create a drilldown from my dashboard table to an external URL that has to pick the hostname of the URL from the table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224132#M66037</link>
    <description>&lt;P&gt;Updated the code below in a screenshot.&lt;/P&gt;

&lt;P&gt;-Krishna Rajapantula&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2015 04:57:39 GMT</pubDate>
    <dc:creator>krishnarajapant</dc:creator>
    <dc:date>2015-09-15T04:57:39Z</dc:date>
    <item>
      <title>How to create a drilldown from my dashboard table to an external URL that has to pick the hostname of the URL from the table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224130#M66035</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;

&lt;P&gt;I want to drilldown from my table in the dashboard to an external URL for which has to pick the hostname of the URL from the table hostname field.&lt;/P&gt;

&lt;P&gt;Below is my drilldown code in table tag.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;condition field="service_name"&amp;gt;
            &amp;lt;link&amp;gt;
              &amp;lt;![CDATA[

              http://$row.hostname$/runprocess.dsp?interface_instance_id=$row.interface_instance_id/]]&amp;gt;
           &amp;lt;/link&amp;gt;
&amp;lt;condition&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I hard-code the host name to specific host, then the drilldown is working as expected, whereas if I'm using variable, then drilldown behavior is not working.&lt;/P&gt;

&lt;P&gt;Not sure what am I missing here.&lt;/P&gt;

&lt;P&gt;-Krishna Rajapantula&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 04:51:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224130#M66035</guid>
      <dc:creator>krishnarajapant</dc:creator>
      <dc:date>2015-09-15T04:51:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown from my dashboard table to an external URL that has to pick the hostname of the URL from the table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224131#M66036</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/656i3708BA3114E98220/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 04:56:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224131#M66036</guid>
      <dc:creator>krishnarajapant</dc:creator>
      <dc:date>2015-09-15T04:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown from my dashboard table to an external URL that has to pick the hostname of the URL from the table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224132#M66037</link>
      <description>&lt;P&gt;Updated the code below in a screenshot.&lt;/P&gt;

&lt;P&gt;-Krishna Rajapantula&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 04:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224132#M66037</guid>
      <dc:creator>krishnarajapant</dc:creator>
      <dc:date>2015-09-15T04:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown from my dashboard table to an external URL that has to pick the hostname of the URL from the table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224133#M66038</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;

&lt;P&gt;Any solution available for the above query?&lt;/P&gt;

&lt;P&gt;-Krishna Rajapantula&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 14:20:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224133#M66038</guid>
      <dc:creator>krishnarajapant</dc:creator>
      <dc:date>2015-09-15T14:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a drilldown from my dashboard table to an external URL that has to pick the hostname of the URL from the table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224134#M66039</link>
      <description>&lt;P&gt;Try something like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;Dynamic WebSite Launcher&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| gentimes start=-1 | eval site="google microsoft bing apple" | table site | makemv site | mvexpand site&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
         &amp;lt;option name="drilldown"&amp;gt;row&amp;lt;/option&amp;gt;    
        &amp;lt;drilldown target="_blank"&amp;gt;          
             &amp;lt;link&amp;gt;
                 &lt;A href="http://www.$row.site$.com" target="test_blank"&gt;http://www.$row.site$.com&lt;/A&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>Tue, 15 Sep 2015 18:38:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-drilldown-from-my-dashboard-table-to-an-external/m-p/224134#M66039</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-15T18:38:34Z</dc:date>
    </item>
  </channel>
</rss>

