API Stability Short-Term

The enableLogCollectorDebugLogging() GraphQL mutation may be used to enable debug logging in LogCollector.

Syntax

Below is the syntax for the enableLogCollectorDebugLogging() mutation field:

graphql
enableLogCollectorDebugLogging(
      url: string, 
      token: string!, 
      level: string!, 
      repository: string
   ): boolean!

Below is an example of how this mutation field might be used:

Show:
graphql
mutation {
  enableLogCollectorDebugLogging(
      url: "https://lc.company.com", 
      token: "123abc456def789", 
      level: "high", 
      repository: "humio"
   )
}
Example Responses
Show:
json
{
  "data": {
    "enableLogCollectorDebugLogging": true
  }
}