<?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 can I drilldown an IP address from a table into a website search field? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370022#M24182</link>
    <description>&lt;P&gt;No worries. This gets me back to just opening the website but it doesn't carry any clicked value from the table. &lt;BR /&gt;
The table columns' order is: IP,  _time, and user.&lt;/P&gt;

&lt;P&gt;Am I using the wrong token or do I need to create one?&lt;/P&gt;

&lt;P&gt;I do apologize for the questions. I am new to Splunk.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 14:56:56 GMT</pubDate>
    <dc:creator>AbelCruz</dc:creator>
    <dc:date>2018-02-08T14:56:56Z</dc:date>
    <item>
      <title>How can I drilldown an IP address from a table into a website search field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370018#M24178</link>
      <description>&lt;P&gt;I am trying to drilldown an IP address value from a table into the  IP Lookup box of  &lt;A href="https://www.iplocation.net"&gt;https://www.iplocation.net&lt;/A&gt; to obtain the IP address' details. I can click on the value and open the right website on a new tab but it doesn't carry over the selected IP value from the table. I am using Splunk predefined token but still doesn't wok. Any suggestions on what I am missing? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;table&amp;gt;
    &amp;lt;title&amp;gt;IP lookup test&amp;lt;/title&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;sourcetype="cisco:asa" Cisco_ASA_vendor_action="authentication Rejected"| dedup user | table IP _time user&amp;lt;/query&amp;gt;
      &amp;lt;earliest&amp;gt;-7d@h&amp;lt;/earliest&amp;gt;
      &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
    &amp;lt;option name="rowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
    &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
    &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
    &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
    &amp;lt;drilldown target="https://www.iplocation.net/"&amp;gt;
      &amp;lt;link&amp;gt;
        &lt;A href="https://www.iplocation.net/?q=$click.value2$" target="test_blank"&gt;https://www.iplocation.net/?q=$click.value2$&lt;/A&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, 08 Feb 2018 14:16:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370018#M24178</guid>
      <dc:creator>AbelCruz</dc:creator>
      <dc:date>2018-02-08T14:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drilldown an IP address from a table into a website search field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370019#M24179</link>
      <description>&lt;P&gt;I just tried visiting &lt;CODE&gt;&lt;A href="https://www.iplocation.net/?q=8.8.8.8" target="test_blank"&gt;https://www.iplocation.net/?q=8.8.8.8&lt;/A&gt;&lt;/CODE&gt; to test the drilldown destination. From what I can tell, you need to be using this: &lt;CODE&gt;https://www.iplocation.net/?query=[ip address]&lt;/CODE&gt; in order for the page to use the supplied token.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:32:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370019#M24179</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-02-08T14:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drilldown an IP address from a table into a website search field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370020#M24180</link>
      <description>&lt;P&gt;Good morning&lt;BR /&gt;
Thank you for your response&lt;/P&gt;

&lt;P&gt;After using your suggestion now I get this on the website. Still does lookup my current IP address though.&lt;/P&gt;

&lt;P&gt;Error: Invalid input address: [ip address]/?q=68.189.154.2&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;link&amp;gt;
        https://www.iplocation.net/?query=[ip address]/?q=$click.value$
      &amp;lt;/link&amp;gt;
    &amp;lt;/drilldown&amp;gt;
  &amp;lt;/table&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:44:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370020#M24180</guid>
      <dc:creator>AbelCruz</dc:creator>
      <dc:date>2018-02-08T14:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drilldown an IP address from a table into a website search field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370021#M24181</link>
      <description>&lt;P&gt;Sorry, that &lt;CODE&gt;[input address]&lt;/CODE&gt; was meant as a placeholder. Here's some literal code:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;drilldown&amp;gt;
       &amp;lt;link&amp;gt;
         &lt;A href="https://www.iplocation.net/?query=$click.value$" target="test_blank"&gt;https://www.iplocation.net/?query=$click.value$&lt;/A&gt;
       &amp;lt;/link&amp;gt;
     &amp;lt;/drilldown&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:47:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370021#M24181</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-02-08T14:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drilldown an IP address from a table into a website search field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370022#M24182</link>
      <description>&lt;P&gt;No worries. This gets me back to just opening the website but it doesn't carry any clicked value from the table. &lt;BR /&gt;
The table columns' order is: IP,  _time, and user.&lt;/P&gt;

&lt;P&gt;Am I using the wrong token or do I need to create one?&lt;/P&gt;

&lt;P&gt;I do apologize for the questions. I am new to Splunk.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 14:56:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370022#M24182</guid>
      <dc:creator>AbelCruz</dc:creator>
      <dc:date>2018-02-08T14:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drilldown an IP address from a table into a website search field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370023#M24183</link>
      <description>&lt;P&gt;I tried to post this as a reply to your comment above, but I forgot I can't include screencaps as attachments in a comment, so I'm making it a new answer. &lt;/P&gt;

&lt;P&gt;No need to apologize. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I'm happy to help. Here's the code for a test dashboard I made to demonstrate our end goal:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;test_ip&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;|makeresults | eval IP="8.8.8.8" | append [|makeresults | eval IP="12.12.12.12"]&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&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;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;drilldown&amp;gt;
          &amp;lt;link target="_blank"&amp;gt;https://www.iplocation.net/?query=$click.value$&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;

&lt;P&gt;This dashboard contains a little dummy query that just makes a small table with two IP addresses in it, but it demonstrates the drilldown functionality. &lt;/P&gt;

&lt;P&gt;Here are some screenshots for how I added the functionality to the table using the Splunk Web UI. First, I selected &lt;CODE&gt;Edit Dashboard &amp;gt; UI&lt;/CODE&gt; (UI is the default option when you edit a dashboard). Then I found the &lt;CODE&gt;Edit Drilldown&lt;/CODE&gt; menu here:&lt;BR /&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/4355i5B14A0BC14B67D8B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;BR /&gt;
Inside that menu, here's what I entered:&lt;BR /&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/4356i59C26BDE1169DB8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Does that match what you see in your Dashboard editor?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 15:10:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370023#M24183</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-02-08T15:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I drilldown an IP address from a table into a website search field?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370024#M24184</link>
      <description>&lt;P&gt;It gives correct output. have you tried this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;table&amp;gt;
     &amp;lt;title&amp;gt;IP lookup test&amp;lt;/title&amp;gt;
     &amp;lt;search&amp;gt;
       &amp;lt;query&amp;gt;sourcetype="cisco:asa" Cisco_ASA_vendor_action="authentication Rejected"| dedup user | table IP _time user&amp;lt;/query&amp;gt;
       &amp;lt;earliest&amp;gt;-7d@h&amp;lt;/earliest&amp;gt;
       &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
     &amp;lt;/search&amp;gt;
     &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
     &amp;lt;option name="rowNumbers"&amp;gt;true&amp;lt;/option&amp;gt;
     &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
     &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
     &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
     &amp;lt;drilldown target="https://www.iplocation.net/"&amp;gt;
       &amp;lt;link&amp;gt;
         &lt;A href="https://www.iplocation.net/?query=$click.value$" target="test_blank"&gt;https://www.iplocation.net/?query=$click.value$&lt;/A&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, 08 Feb 2018 15:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-drilldown-an-IP-address-from-a-table-into-a-website/m-p/370024#M24184</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-08T15:11:09Z</dc:date>
    </item>
  </channel>
</rss>

