How to Add Custom Headers to Log Stream

Last Updated: Aug 9, 2024

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"
           }
       ]
}
1 Like