<?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 an NSLookup script that allows you to right-click an IP to get the name and address information? in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/How-to-create-an-NSLookup-script-that-allows-you-to-right-click/m-p/203616#M2731</link>
    <description>&lt;P&gt;Thank you very much I will give it a shot and let you know how it goes.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2016 17:41:08 GMT</pubDate>
    <dc:creator>packet_hunter</dc:creator>
    <dc:date>2016-12-22T17:41:08Z</dc:date>
    <item>
      <title>How to create an NSLookup script that allows you to right-click an IP to get the name and address information?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-create-an-NSLookup-script-that-allows-you-to-right-click/m-p/203614#M2729</link>
      <description>&lt;P&gt;Any one have any luck creating an NSlookup script that allows you to right-click an IP and get the Name/Address Info?&lt;/P&gt;

&lt;P&gt;I am thinking about using a Python script.&lt;/P&gt;

&lt;P&gt;Any pointers, don't want to reinvent the wheel...&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2016 22:55:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-create-an-NSLookup-script-that-allows-you-to-right-click/m-p/203614#M2729</guid>
      <dc:creator>packet_hunter</dc:creator>
      <dc:date>2016-12-20T22:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an NSLookup script that allows you to right-click an IP to get the name and address information?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-create-an-NSLookup-script-that-allows-you-to-right-click/m-p/203615#M2730</link>
      <description>&lt;P&gt;Simpler and pure Simple XML solution would be to add a drilldown capability on IP field.&lt;BR /&gt;
Alternatively (what I did) - create a another field right next to IP, name it "Whois" and make click on this field to open new browser tab to execute "whois" on IP.&lt;/P&gt;

&lt;P&gt;Such as:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  ...
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Investigation Results&amp;lt;/title&amp;gt;
        &amp;lt;searchPostProcess base="root_search"&amp;gt;
          ...
        &amp;lt;/searchPostProcess&amp;gt;
        &amp;lt;drilldown target="_blank"&amp;gt;
          &amp;lt;link field="Whois"&amp;gt;
            &amp;lt;![CDATA[ &lt;A href="http://who.is/whois-ip/ip-address/$row.src_ip$" target="test_blank"&gt;http://who.is/whois-ip/ip-address/$row.src_ip$&lt;/A&gt; ]]&amp;gt;
          &amp;lt;/link&amp;gt;
        &amp;lt;/drilldown&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&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;15&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;    ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In above case - clicking on "Whois" field will open new browser tab where value of "src_ip" field will be taken and sent as a parameter to "who.is" service. Feel free to replace this with another service of your choice.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 01:50:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-create-an-NSLookup-script-that-allows-you-to-right-click/m-p/203615#M2730</guid>
      <dc:creator>gesman_splunk</dc:creator>
      <dc:date>2016-12-21T01:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create an NSLookup script that allows you to right-click an IP to get the name and address information?</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/How-to-create-an-NSLookup-script-that-allows-you-to-right-click/m-p/203616#M2731</link>
      <description>&lt;P&gt;Thank you very much I will give it a shot and let you know how it goes.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2016 17:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/How-to-create-an-NSLookup-script-that-allows-you-to-right-click/m-p/203616#M2731</guid>
      <dc:creator>packet_hunter</dc:creator>
      <dc:date>2016-12-22T17:41:08Z</dc:date>
    </item>
  </channel>
</rss>

