<?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: Use Splunk for a Static Value Lookup in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Use-Splunk-for-a-Static-Value-Lookup/m-p/314986#M162694</link>
    <description>&lt;P&gt;I'm not exactly sure what you intended. But try this as a different way&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults | eval server_ip="10.22.10.250" | lookup dnslookup clients as server_ip output client_host as server_fqdn | lookup datastore server_fqdn OUTPUTNEW
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 04 Mar 2018 15:32:47 GMT</pubDate>
    <dc:creator>starcher</dc:creator>
    <dc:date>2018-03-04T15:32:47Z</dc:date>
    <item>
      <title>Use Splunk for a Static Value Lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-Splunk-for-a-Static-Value-Lookup/m-p/314985#M162693</link>
      <description>&lt;P&gt;I have a data store that information is far faster and more reach to get to with Splunk and I am trying to figure out a way to generate information from one piece automatically from this source. In this specific example I tried the following&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| inputlookup datastore&lt;BR /&gt;
| search [setfields server_ip="10.22.10.250" | lookup dnslookup clientip as server_ip output clienthost as server_fqdn | fields server_fqdn]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But this is not rendering the information that I am looking for. The IP that I am using does have a corresponding &lt;CODE&gt;server_fqdn&lt;/CODE&gt; value in the &lt;CODE&gt;inputlookup datastore&lt;/CODE&gt; specified (I used a known good sample for this). I am hoping someone might be able to spot what I am not seeing in terms of syntax or value handling and offer a suggestion as to how to get this to work.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 06:32:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-Splunk-for-a-Static-Value-Lookup/m-p/314985#M162693</guid>
      <dc:creator>JeffBothel</dc:creator>
      <dc:date>2018-02-28T06:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Use Splunk for a Static Value Lookup</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Use-Splunk-for-a-Static-Value-Lookup/m-p/314986#M162694</link>
      <description>&lt;P&gt;I'm not exactly sure what you intended. But try this as a different way&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults | eval server_ip="10.22.10.250" | lookup dnslookup clients as server_ip output client_host as server_fqdn | lookup datastore server_fqdn OUTPUTNEW
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 04 Mar 2018 15:32:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Use-Splunk-for-a-Static-Value-Lookup/m-p/314986#M162694</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2018-03-04T15:32:47Z</dc:date>
    </item>
  </channel>
</rss>

