<?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 Splunk not seeing remote host Filezilla in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-seeing-remote-host-Filezilla/m-p/151538#M97956</link>
    <description>&lt;P&gt;We have a remote windows ftp server that splunk is pulling logs off and I am not able to get it to recognize the remote host or ip as searchable fields.&lt;/P&gt;

&lt;P&gt;The raw data looks like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; TYPE I
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; 200 Type set to I
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; PORT 10,180,48,145,19,136
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; 200 Port command successful
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; STOR    /../../
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; 150 Opening data channel for file transfer.
(110680) 11/21/2013 16:01:08 PM - acfXXX (10.180.48.145)&amp;gt; 226 Transfer OK
(110680) 11/21/2013 16:01:08 PM - acfXXX (10.180.48.145)&amp;gt; TYPE I
(110680) 11/21/2013 16:01:08 PM - acfXXX (10.180.48.145)&amp;gt; 200 Type set to I
(110680) 11/21/2013 16:01:08 PM - acfXXX (10.180.48.145)&amp;gt; PORT 10,180,48,145,4,2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The local.conf on the windows server looks like this. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Program Files\FileZilla Server\Logs]
host = ftp01
index = hosted
sourcetype = ftp_filezilla
_whitelist = (?i).*\.log$

[monitor://C:\Program Files\FileZilla Server\Logs]
host = ftp01
index = hosted
sourcetype = ftp_filezilla
_whitelist = (?i).*\.log$

[WinEventLog:Application]
disabled = 1

[WinEventLog:Security]
disabled = 1

[WinEventLog:System]
disabled = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The host name acfXXX is not at all similar every time and I would need to configure it to strip it out by row number ie in linux awk '{print $6}'&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2013 22:06:56 GMT</pubDate>
    <dc:creator>chrisw9808</dc:creator>
    <dc:date>2013-11-21T22:06:56Z</dc:date>
    <item>
      <title>Splunk not seeing remote host Filezilla</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-seeing-remote-host-Filezilla/m-p/151538#M97956</link>
      <description>&lt;P&gt;We have a remote windows ftp server that splunk is pulling logs off and I am not able to get it to recognize the remote host or ip as searchable fields.&lt;/P&gt;

&lt;P&gt;The raw data looks like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; TYPE I
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; 200 Type set to I
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; PORT 10,180,48,145,19,136
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; 200 Port command successful
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; STOR    /../../
(110680) 11/21/2013 16:01:07 PM - acfXXX (10.180.48.145)&amp;gt; 150 Opening data channel for file transfer.
(110680) 11/21/2013 16:01:08 PM - acfXXX (10.180.48.145)&amp;gt; 226 Transfer OK
(110680) 11/21/2013 16:01:08 PM - acfXXX (10.180.48.145)&amp;gt; TYPE I
(110680) 11/21/2013 16:01:08 PM - acfXXX (10.180.48.145)&amp;gt; 200 Type set to I
(110680) 11/21/2013 16:01:08 PM - acfXXX (10.180.48.145)&amp;gt; PORT 10,180,48,145,4,2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The local.conf on the windows server looks like this. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Program Files\FileZilla Server\Logs]
host = ftp01
index = hosted
sourcetype = ftp_filezilla
_whitelist = (?i).*\.log$

[monitor://C:\Program Files\FileZilla Server\Logs]
host = ftp01
index = hosted
sourcetype = ftp_filezilla
_whitelist = (?i).*\.log$

[WinEventLog:Application]
disabled = 1

[WinEventLog:Security]
disabled = 1

[WinEventLog:System]
disabled = 1
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The host name acfXXX is not at all similar every time and I would need to configure it to strip it out by row number ie in linux awk '{print $6}'&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2013 22:06:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-seeing-remote-host-Filezilla/m-p/151538#M97956</guid>
      <dc:creator>chrisw9808</dc:creator>
      <dc:date>2013-11-21T22:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk not seeing remote host Filezilla</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-seeing-remote-host-Filezilla/m-p/151539#M97957</link>
      <description>&lt;P&gt;(110680) 11/21/2013 16:01:08 PM - acfXXX (10.180.48.145)&amp;gt; 226 Transfer OK&lt;/P&gt;

&lt;P&gt;Looking at the sample data, something like this should let you extract the two fields on the fly:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "-\s+(?&amp;lt;remote_host&amp;gt;\S+)\s+\((?&amp;lt;remote_ip&amp;gt;(\d+\.?)+)\)"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Once you're happy with the extraction you can move the expression to props.conf / Settings -&amp;gt; Fields -&amp;gt; Field Extractions to have the fields searchable every time.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2013 10:06:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-not-seeing-remote-host-Filezilla/m-p/151539#M97957</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-11-22T10:06:19Z</dc:date>
    </item>
  </channel>
</rss>

