Skip to main content

createExternalLogStream Mutation

Creates a new ExternalLogStream object.

Access is permitted when any of the following condition(s) are met: 1. The signed-in User has any of the following permissions for the associated Organization: [org_admin_users].

Input fields (CreateExternalLogStreamInput!)

ArgumentTypeDescription
nameString!Name of the ExternalLogStream.
urlString!The URL of the ExternalLogStream.
payloadTemplateString!The template that is hydrated and then used as the body of the ExternalLogStream request.
headersStringA JSON string of key/value pairs that will be sent as headers in the ExternalLogStream request.
severityLevels[LogSeverityLevelInput]!The Log severity levels for which Logs should be sent to the ExternalLogStream.
clientMutationIdStringA unique identifier for the client performing the mutation.

Return fields (CreateExternalLogStreamPayload)

clientMutationId (String)
errors ([ErrorType!]!)
externalLogStream (ExternalLogStream)