Can I write the Content-Type of a request to the accesslog?
search cancel

Can I write the Content-Type of a request to the accesslog?

book

Article ID: 165468

calendar_today

Updated On:

Products

CF-5000 CF-500

Issue/Introduction

- The accesslog field for request Content-Type is: cs(Content-Type)

- Using the "Main" format as the base, create a new log format and add the cs(Content-Type) field as such

CF5000#(config format analysis)Type elff "date time c-ip time-taken sc-status sc-bytes cs-bytes rs-bytes sr-bytes s-action cs-method cs-uri-scheme cs-host cs-uri-port cs-uri-path cs-uri-query cs-uri-extension cs(User-Agent) cs-ip cs-categories c-uri x-exception-id rs(Content-Type) cs(Content-Type)"
  ok