<?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 Need a help in creating a dashboard to get information on the IP address? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-in-creating-a-dashboard-to-get-information-on-the-IP/m-p/408348#M117863</link>
    <description>&lt;P&gt;Hi, I got a request to create a dashboard to get the information on the ipaddress, with multiple panels and one input text tokens, another with Time Picker. One of the Dashboard panel output should contain Hostname (resolved by dns lookup). &lt;BR /&gt;
I was referring the below link to understand &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/105246/dns-resolution-in-a-search.html+"&gt;https://answers.splunk.com/answers/105246/dns-resolution-in-a-search.html&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;But unable understand the query referred in the link. I mean What search string should be placed before the pipe symbol? &lt;/P&gt;

&lt;P&gt;| lookup dnslookup clientip as dst OUTPUT clienthost as DST_RESOLVED&lt;/P&gt;

&lt;P&gt;Could anyone guide me on the query which can fetch the Hostname (resolved by dns lookup).&lt;/P&gt;</description>
    <pubDate>Wed, 23 May 2018 14:28:03 GMT</pubDate>
    <dc:creator>Hemnaath</dc:creator>
    <dc:date>2018-05-23T14:28:03Z</dc:date>
    <item>
      <title>Need a help in creating a dashboard to get information on the IP address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-in-creating-a-dashboard-to-get-information-on-the-IP/m-p/408348#M117863</link>
      <description>&lt;P&gt;Hi, I got a request to create a dashboard to get the information on the ipaddress, with multiple panels and one input text tokens, another with Time Picker. One of the Dashboard panel output should contain Hostname (resolved by dns lookup). &lt;BR /&gt;
I was referring the below link to understand &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/105246/dns-resolution-in-a-search.html+"&gt;https://answers.splunk.com/answers/105246/dns-resolution-in-a-search.html&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;But unable understand the query referred in the link. I mean What search string should be placed before the pipe symbol? &lt;/P&gt;

&lt;P&gt;| lookup dnslookup clientip as dst OUTPUT clienthost as DST_RESOLVED&lt;/P&gt;

&lt;P&gt;Could anyone guide me on the query which can fetch the Hostname (resolved by dns lookup).&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 14:28:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-in-creating-a-dashboard-to-get-information-on-the-IP/m-p/408348#M117863</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2018-05-23T14:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in creating a dashboard to get information on the IP address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-in-creating-a-dashboard-to-get-information-on-the-IP/m-p/408349#M117864</link>
      <description>&lt;P&gt;The query required depends on your data, and the field that contains the information you require. &lt;/P&gt;

&lt;P&gt;In the example:&lt;/P&gt;

&lt;P&gt;| lookup dnslookup clientip as dst OUTPUT clienthost as DST_RESOLVED&lt;/P&gt;

&lt;P&gt;The even generating search, is returning a dst field, which is being resolved the resolved value is being stored in the field DST_RESOLVED&lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 15:03:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-in-creating-a-dashboard-to-get-information-on-the-IP/m-p/408349#M117864</guid>
      <dc:creator>solarboyz1</dc:creator>
      <dc:date>2018-05-23T15:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in creating a dashboard to get information on the IP address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-in-creating-a-dashboard-to-get-information-on-the-IP/m-p/408350#M117865</link>
      <description>&lt;P&gt;Thanks for your response,  hey I had tried the below query  to fetch the resolved IP address  as the Hostname&lt;/P&gt;

&lt;P&gt;Query details:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dest="10.x.x.*" | stats count by dest |  lookup dnslookup clientip as dest OUTPUT clienthost as Hostname | dedup dest Hostname | table dest Hostname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am getting the resolved IP address with the corresponding Hostname. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dest            Hostname
10.x.x.x    vmw1dev8.xxxxx.com
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But when same was query is applied to the dashboard panels it is not working.  In dashboard we have two input fields one input text tokens (Ip address)  and another  with Time Picker.&lt;/P&gt;

&lt;P&gt;Token for input text field is defined as "$D$"&lt;BR /&gt;
Token for Time Picker drop down is defined as "$T$"&lt;BR /&gt;
Search on change option is checked and for time picket shared time picker option is selected.&lt;/P&gt;

&lt;P&gt;Query in the dashboard panels.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;dest="$D$" | stats count by dest |  lookup dnslookup clientip as dest OUTPUT clienthost as Hostname | dedup dest Hostname | table dest Hostname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And In dashboard I could see this&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;search is waiting for input ....&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Can you please guide on this to fix this issue. &lt;/P&gt;</description>
      <pubDate>Wed, 23 May 2018 16:48:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-in-creating-a-dashboard-to-get-information-on-the-IP/m-p/408350#M117865</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2018-05-23T16:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need a help in creating a dashboard to get information on the IP address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Need-a-help-in-creating-a-dashboard-to-get-information-on-the-IP/m-p/408351#M117866</link>
      <description>&lt;P&gt;hey when tried to  edit and execute the query in open search, I am getting a "undefined" in the search. So can any guide me on this to fix this.  &lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 13:48:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Need-a-help-in-creating-a-dashboard-to-get-information-on-the-IP/m-p/408351#M117866</guid>
      <dc:creator>Hemnaath</dc:creator>
      <dc:date>2018-05-24T13:48:03Z</dc:date>
    </item>
  </channel>
</rss>

