Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 6.61 KB

createconfigurablelogdrainrequestbody.md

File metadata and controls

29 lines (24 loc) · 6.61 KB

CreateConfigurableLogDrainRequestBody

Example Usage

import { CreateConfigurableLogDrainRequestBody } from "@simplesagar/vercel/models/createconfigurablelogdrainop.js";

let value: CreateConfigurableLogDrainRequestBody = {
  deliveryFormat: "json",
  url: "https://severe-great-grandfather.com",
  sources: [
    "edge",
  ],
};

Fields

Field Type Required Description Example
deliveryFormat models.CreateConfigurableLogDrainDeliveryFormat ✔️ The delivery log format json
url string ✔️ The log drain url
headers Record<string, string> Headers to be sent together with the request
projectIds string[] N/A
sources models.CreateConfigurableLogDrainSources[] ✔️ N/A
environments models.CreateConfigurableLogDrainEnvironments[] N/A
secret string Custom secret of log drain
samplingRate number The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points
name string The custom name of this log drain.