Adding static strings/separators into log format


If you’re looking to insert a separator ("|") or other arbitrary string into the syslog endpoint format:

  1. Create a new request header in the UI (Configure–> Contents -->Headers) with the following fields filled in:
  • Action: set
  • Destination: any suitable header name (ie, http.X-Separator)
  • Source: “whatever special character/string you want” (ie, “|” )
  1. Once that’s created with the value you want, reference that header variable in the log format box (ie, in the example above, you would use req.http.X-Separator)