How to Add Custom Headers to Log Stream

Overview

This article explains how to add custom headers to a Log Stream.

Applies To

  • Custom Headers
  • Log Stream

Solution

Specify the httpCustomHeaders field while creating the log stream or when updating the log stream.

A sample request to these endpoints would be something like as follows:

 

{
    "sink"{
        "httpCustomHeaders": [
            {
                "header": "one",
                "value": "1"
            }
        ]
}

Recommended content

No recommended content found...