2 Replies Latest reply on Apr 17, 2014 12:12 PM by mepplin

    Data Source - FTP File Source - does not work, what to enter into the fields?

    zainsra

      Can someone help us out, we cannt get this working.

       

      The path as shown in the path field below, is where the log files are located.

       

      we also enter username and password, however the test connection fails:

      NotOK could'nt connect to Host

       

      I think we are not entering correct info into the fields, please advise. I could not find any documents on this either.

       

      The log files are in the format of 'S File'

       

      Message was edited by: zainsra on 4/16/14 3:02:07 PM CDT

       

      Message was edited by: zainsra on 4/16/14 3:04:43 PM CDT
        • 1. Re: Data Source - FTP File Source - does not work, what to enter into the fields?
          mepplin

          For ftp retrieval of files the fields should be filled out as follows:

           

          • IP Address - IP Address of the system where the files are. The receiver will initiate the ftp connection to this address
          • Path: The path on the server where the files are stored. For example /var/log/
          • Wildcard Expression: This is the name of the file to be retrieved with any possible wildcards.
            • For example if you wanted to retrieve /var/log/messages and process it you would simply enter messages in the box. This will retrieve the var/log/messages file each time.
            • If the file to be retrieved was mylogfile_04_16_2014.log you would enter a wildcard expression to match the file, something like mylogfile_*.log if the file name changes
          • Username / password - credentials to access the server and retrieve the file.
          • 2. Re: Data Source - FTP File Source - does not work, what to enter into the fields?
            mepplin

            Also verify that an ftp service is running on the box. You can ssh to the receiver and from the command line attempt to initiate the ftp connection from the command line to the host. and see if a file can be retrieved. We use the curl command to do this, so once you ssh into the receiver run something like this 'curl -u ftpusername:ftppassword -O ftp://ftp_server/path/file/'. If you are intrested you can find some samples of cURL (curl) syntax here: http://www.thegeekstuff.com/2012/04/curl-examples/