Raw Logs

The raw logs functionality allows you to send logs associated with your CDN resources to your distant server in real time. The raw log allows customers to understand, analyze, and debug files delivered via OnApp CDN, or can be served as audit trailed. Once the user creates CDN resource(s), the raw logs are enabled for this account and the user can configure and receive raw logs.  Logs are sent for all the CDN Resources associated with the user. There are three different types of delivery: Syslog, SFTP and FTP. The frequency of uploading the log to client destination is every 10 minutes for SFTP and FTP protocols. For the Syslog protocol, logs are uploaded instantaneously.

If the user does not have any CDN resources, they cannot configure raw logs.

To view and set the raw log configuration:

  1. Go to your Control Panel's CDN Resources menu.
  2. Click the Raw Log tab.
  3. The page that loads shows the current raw log configuration. On this page you can also set the raw log configuration:
    • For the FTP/SFTP delivery protocol:

      • Hostname - fill in the hostname of the server to which the log will be delivered
      • Ftp username - specify the user name of the FTP/SFTP client on the server to which the log will be delivered
      • Ftp password - fill in the password of the FTP/SFTP client on the server to which the log will be delivered
    • For the Syslog delivery protocol:
      • Hostname - fill in the hostname of the server to which the log will be delivered
      • Syslog protocol - select the protocol that will be used for sending the log: TCP or UDP
      • Syslog port - specify the port number of the syslog server to which the log will be delivered
    • Choose Disabled to disable raw logs.
  4. Click Save to save the configuration.

To edit, set new configuration parameters and click Save.

To disable, choose Disabled from the raw log configuration delivery protocol drop-down.

If the SFTP or FTP protocol is applied, raw logs are delivered as an archive. If the Syslog delivery protocol is selected, user will receive the text of the logs.