Child pages
  • View CDN Resource Raw Log Configuration
Skip to end of metadata
Go to start of metadata

To view the raw log configuration, use the following request:

GET /cdn_resources/raw_log.xml
GET /cdn_resources/raw_log.json

XML Request Example:

curl -i -X GET -u user:userpass -H 'Accept: application/xml' -H 'Content-type: application/xml' --url "http://onapp.test/cdn_resources/raw_log.xml"

JSON Request Example:

curl -i -X GET -u user:userpass -H 'Accept: application/json' -H 'Content-type: application/json' --url "http://onapp.test/cdn_resources/raw_log.json"

XML Response Example:

Disabled:

 <raw_log>
  <protocol></protocol>
</raw_log>

Where:

protocol - delivery protocol

 

For the FTP/SFTP delivery protocol:

<raw_log>
  <protocol>ftp</protocol>
  <uri>rawlog.com</uri>
  <user>username</user>
  <pass>password</pass>
</raw_log>

Where:

protocol - delivery protocol

uri - the hostname of the server to which the log will be delivered

user - the user name of the FTP/SFTP client on the server to which the log will be delivered

pass - the password of the FTP/SFTP client on the server to which the log will be delivered

 

For the Syslog delivery protocol:

<raw_log>
  <protocol>syslog</protocol>
  <uri>rawlog.com</uri>
  <syslog_protocol>tcp</syslog_protocol>
  <port>80</port>
</raw_log>

Where:

protocol - delivery protocol

uri - the hostname of the server to which the log will be delivered

syslog_protocol - the protocol that will be used for sending the log: TCP or UDP

port - the port number of the syslog the server to which the log will be delivered

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels