<?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 hyperlink for column values? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126406#M7450</link>
    <description>&lt;P&gt;Try adding css to that column in your stylesheet and use drilldown functionality..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; .table#element1 td:nth-child(0)
 {
       text-decoration: underline;
       color: blue;
 } 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 25 Aug 2016 06:35:08 GMT</pubDate>
    <dc:creator>pasokkum</dc:creator>
    <dc:date>2016-08-25T06:35:08Z</dc:date>
    <item>
      <title>How to create a hyperlink for column values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126404#M7448</link>
      <description>&lt;P&gt;I have a requirement that in a report where there are 2 columns M_Number &amp;amp; Count&lt;/P&gt;

&lt;P&gt;where the result set is &lt;BR /&gt;
M_Number Count&lt;BR /&gt;
1              1000&lt;BR /&gt;
2              1019&lt;BR /&gt;
3              1290&lt;/P&gt;

&lt;P&gt;Now I want to put hyperlink on values 1, 2 &amp;amp; 3 to put the report hyperlink which will open the detail report for that M_number&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2014 10:23:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126404#M7448</guid>
      <dc:creator>aashish_122001</dc:creator>
      <dc:date>2014-09-16T10:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a hyperlink for column values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126405#M7449</link>
      <description>&lt;P&gt;You can specify a link to your detail report in a drilldown tag:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...
&amp;lt;table&amp;gt;
  ...
  &amp;lt;drilldown&amp;gt;
    &amp;lt;link&amp;gt;your_detail_reports_view?M_Number=$row.M_Number$&amp;lt;/link&amp;gt;
  &amp;lt;/drilldown&amp;gt;
&amp;lt;/table&amp;gt;
...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.3/Viz/PanelreferenceforSimplifiedXML#link"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.3/Viz/PanelreferenceforSimplifiedXML#link&lt;/A&gt; for reference.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2014 10:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126405#M7449</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-09-16T10:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a hyperlink for column values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126406#M7450</link>
      <description>&lt;P&gt;Try adding css to that column in your stylesheet and use drilldown functionality..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; .table#element1 td:nth-child(0)
 {
       text-decoration: underline;
       color: blue;
 } 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Aug 2016 06:35:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126406#M7450</guid>
      <dc:creator>pasokkum</dc:creator>
      <dc:date>2016-08-25T06:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a hyperlink for column values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126407#M7451</link>
      <description>&lt;P&gt;I have a similar problem, I have to pass two values in the same link, my data goes like &lt;/P&gt;

&lt;P&gt;M_Number           M_Category                    Count&lt;BR /&gt;
1                                        A                            1000&lt;BR /&gt;
2                                        B                            1019&lt;BR /&gt;
3                                        C                            1290&lt;/P&gt;

&lt;P&gt;If I click on A, B or C, I have to pass both M_Number and M_category to the search query of the target dashboard,What if we have to send two parameters in the same link?&lt;BR /&gt;
My table goes like:&lt;/P&gt;

&lt;P&gt;M_Number             M_Name   Count&lt;BR /&gt;
1                                    A             1000&lt;BR /&gt;
2                                    B              1019&lt;BR /&gt;
3                                    C              1290&lt;/P&gt;

&lt;P&gt;If click on A, B or C  the link should pass both A and 1 to the search query for other dashboard pannel&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:06:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126407#M7451</guid>
      <dc:creator>hwakonwalk</dc:creator>
      <dc:date>2020-09-29T12:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a hyperlink for column values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126408#M7452</link>
      <description>&lt;P&gt;Use &lt;CODE&gt;$row.M_Number$&lt;/CODE&gt; and &lt;CODE&gt;$row.M_Name$&lt;/CODE&gt; in your link.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2016 20:52:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126408#M7452</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-11-28T20:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a hyperlink for column values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126409#M7453</link>
      <description>&lt;P&gt;Thank you Martin!&lt;BR /&gt;
I am very new to programming, tried using variables but I am not sure about the syntax for two variables &lt;BR /&gt;
Would appreciate if you provide me the syntax for using two variables&lt;BR /&gt;
I know it looks very awkward but I have never used any xml or programmed anything &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 05:23:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126409#M7453</guid>
      <dc:creator>hwakonwalk</dc:creator>
      <dc:date>2016-11-29T05:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a hyperlink for column values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126410#M7454</link>
      <description>&lt;P&gt;Adapt the names to fit your case:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;link&amp;gt;your_detail_reports_view?M_Number=$row.M_Number$&amp;amp;amp;M_Name=$row.M_Name$&amp;lt;/link&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Additionally, do open new questions when you have new questions in the future.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 01:27:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126410#M7454</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-11-30T01:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a hyperlink for column values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126411#M7455</link>
      <description>&lt;P&gt;Refer to &lt;STRONG&gt;"Dynamic Drilldown"&lt;/STRONG&gt; example on &lt;STRONG&gt;Splunk 6.x Dashboard Examples app&lt;/STRONG&gt;. There are various examples, however the one you are interested in is &lt;STRONG&gt;"Table panel with dynamic drilldown that passes the clicked row's 'count' column value to populate a form"&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;        &amp;lt;drilldown&amp;gt;
            &amp;lt;link&amp;gt;/app/&amp;lt;YourAppName&amp;gt;/&amp;lt;YourDetailDashboardName&amp;gt;?form.M_Number=$row.M_Number$&amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You even have an option to do a contextual dynamic drill-down within the same dashboard. Refer to &lt;STRONG&gt;"In-Page Drilldown with Perma-linking"&lt;/STRONG&gt; example as well, if you don't want users to be redirected to a separate page.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Dec 2016 05:34:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126411#M7455</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2016-12-11T05:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a hyperlink for column values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126412#M7456</link>
      <description>&lt;P&gt;Thank you Martin!&lt;BR /&gt;
Sure, I'll open new questions for any new queries&lt;/P&gt;</description>
      <pubDate>Tue, 13 Dec 2016 09:16:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-create-a-hyperlink-for-column-values/m-p/126412#M7456</guid>
      <dc:creator>hwakonwalk</dc:creator>
      <dc:date>2016-12-13T09:16:13Z</dc:date>
    </item>
  </channel>
</rss>

