<?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: resolving hostnames from a mail log in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/resolving-hostnames-from-a-mail-log/m-p/167714#M33948</link>
    <description>&lt;P&gt;To add to Luke's answer, this script and lookup mechanism is described in the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Knowledge/Addfieldsfromexternaldatasources#Example_of_external_fields_lookup"&gt;Splunk documentation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Dec 2013 17:02:12 GMT</pubDate>
    <dc:creator>muebel</dc:creator>
    <dc:date>2013-12-05T17:02:12Z</dc:date>
    <item>
      <title>resolving hostnames from a mail log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/resolving-hostnames-from-a-mail-log/m-p/167712#M33946</link>
      <description>&lt;P&gt;I'm a beginner at this... but i love to know more!&lt;/P&gt;

&lt;P&gt;I have a mail log that i like to extract the connection hostname from.&lt;BR /&gt;
I have sorted out all the intresting lines:&lt;/P&gt;

&lt;P&gt;"&lt;BR /&gt;
Dec  1 04:02:42 mailgw1 postfix/smtpd[15515]: connect from unknown[XXX.YYY.ZZZ.NNN]&lt;BR /&gt;
"&lt;/P&gt;

&lt;P&gt;But when i try to get the IPadresses to hostnames i just hit the brick wall &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I'm ending up with a list of "unknown[XXX.YYY.ZZZ.NNN]" and i just love to resolve that to a hostname and make a nice chart for the boss... and a clear list for the developer that are trying to change mail system...&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 14:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/resolving-hostnames-from-a-mail-log/m-p/167712#M33946</guid>
      <dc:creator>christerhe</dc:creator>
      <dc:date>2013-12-05T14:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: resolving hostnames from a mail log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/resolving-hostnames-from-a-mail-log/m-p/167713#M33947</link>
      <description>&lt;P&gt;It sounds like you are looking to resolve the host name from an IP.  Splunk ships with a script that can do this at index time, which means once configured only new events will be resolved.&lt;/P&gt;

&lt;P&gt;Check out this answer:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/105246/dns-resolution-in-a-search"&gt;http://answers.splunk.com/answers/105246/dns-resolution-in-a-search&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 14:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/resolving-hostnames-from-a-mail-log/m-p/167713#M33947</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-12-05T14:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: resolving hostnames from a mail log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/resolving-hostnames-from-a-mail-log/m-p/167714#M33948</link>
      <description>&lt;P&gt;To add to Luke's answer, this script and lookup mechanism is described in the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Knowledge/Addfieldsfromexternaldatasources#Example_of_external_fields_lookup"&gt;Splunk documentation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2013 17:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/resolving-hostnames-from-a-mail-log/m-p/167714#M33948</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2013-12-05T17:02:12Z</dc:date>
    </item>
  </channel>
</rss>

