Removing Log Prefix


1 comment

  • Kami Richey

    Hi @jimfear

    Your logging endpoint is currently set to our classic message format, but you can change that to blank which will remove the prefix data.

    Here's the link to the guide:

    The API call will be (assuming blank is the message type you wish to use):

    curl -X PUT -H 'Fastly-Key: <your Fastly API key>' -H 'Content-Type: application/json' '<your Fastly service ID>/version/<version number/logging/<log type>/<log name>' --data-binary '{"message_type":"blank"}'

    The guide has the list of possible values for log type Also, make sure your log name is URL encoded.

    Comment actions Permalink

Please sign in to leave a comment.