<?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: IP to Name in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85056#M21688</link>
    <description>&lt;P&gt;My entire props.conf reads :&lt;/P&gt;

&lt;P&gt;[source::udp:514]&lt;BR /&gt;
TRANSFORMS-changesourcetype = riverbed_steelhead, sourcetype_cisco_asa&lt;/P&gt;

&lt;P&gt;[access_combined]&lt;BR /&gt;
Lookup-hostnames = hostnames ip AS IP OUTPUTNEW Name&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:05:35 GMT</pubDate>
    <dc:creator>vistasyslog</dc:creator>
    <dc:date>2020-09-28T13:05:35Z</dc:date>
    <item>
      <title>IP to Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85053#M21685</link>
      <description>&lt;P&gt;I cannot get the hostnames in place of IP's on the summary screen. I need to get it done through the .csv file option and not DNS.&lt;/P&gt;

&lt;P&gt;.CSV file contents reads : &lt;/P&gt;

&lt;P&gt;IP,Name&lt;BR /&gt;
10.12.0.132,AUS-BROCADE-10G-2&lt;BR /&gt;
10.12.100.9,AUS-VG1&lt;BR /&gt;
10.12.100.8,AUS-VG2&lt;/P&gt;

&lt;P&gt;Transforms.conf :&lt;/P&gt;

&lt;P&gt;[hostnames]&lt;BR /&gt;
filename = hostnames.csv&lt;/P&gt;

&lt;P&gt;props.conf :&lt;/P&gt;

&lt;P&gt;[access_combined]&lt;BR /&gt;
Lookup-hostnames = Hostnames ip AS IP OUTPUT Name&lt;/P&gt;

&lt;P&gt;Can you tell me if there is something that I need to change.&lt;/P&gt;

&lt;P&gt;I have added the .csv file as a lookup table, pointed a lookup definition to it.&lt;BR /&gt;
When I perform this search :&lt;/P&gt;

&lt;P&gt;sourcetype="syslog" | lookup hostnames host AS IP OUTPUT Name&lt;/P&gt;

&lt;P&gt;I get the following error :&lt;/P&gt;

&lt;P&gt;Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table&lt;/P&gt;

&lt;P&gt;The .csv file is in the system/lookups folder.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2013 16:19:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85053#M21685</guid>
      <dc:creator>vistasyslog</dc:creator>
      <dc:date>2013-01-11T16:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: IP to Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85054#M21686</link>
      <description>&lt;P&gt;You have the fields in the wrong order in your lookup command, they should be the other way around:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | lookup hostnames IP AS host OUTPUT Name
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Jan 2013 16:21:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85054#M21686</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-01-11T16:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: IP to Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85055#M21687</link>
      <description>&lt;P&gt;I tried this command., I still get the same error.&lt;BR /&gt;
I also get the error : &lt;/P&gt;

&lt;P&gt;Possible Typo in the first stanza [access_combined] in props.conf file.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2013 16:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85055#M21687</guid>
      <dc:creator>vistasyslog</dc:creator>
      <dc:date>2013-01-11T16:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: IP to Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85056#M21688</link>
      <description>&lt;P&gt;My entire props.conf reads :&lt;/P&gt;

&lt;P&gt;[source::udp:514]&lt;BR /&gt;
TRANSFORMS-changesourcetype = riverbed_steelhead, sourcetype_cisco_asa&lt;/P&gt;

&lt;P&gt;[access_combined]&lt;BR /&gt;
Lookup-hostnames = hostnames ip AS IP OUTPUTNEW Name&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:05:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85056#M21688</guid>
      <dc:creator>vistasyslog</dc:creator>
      <dc:date>2020-09-28T13:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: IP to Name</title>
      <link>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85057#M21689</link>
      <description>&lt;P&gt;It's not "Lookup", it's LOOKUP, all caps.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2013 18:56:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/IP-to-Name/m-p/85057#M21689</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-01-11T18:56:43Z</dc:date>
    </item>
  </channel>
</rss>

