API Stability |
Short-Term
|
The updateLogCollectorConfigurationDescription() GraphQL mutation is used to update Log Collector's configuration description.
Syntax
Below is the syntax for the updateLogCollectorConfigurationDescription() mutation field:
graphql
updateLogCollectorConfigurationDescription(
configId: string!,
description: string
): LogCollectorConfiguration!
Below is an example of how this mutation field might be used:
graphql
mutation {
updateLogCollectorConfigurationDescription(
configId: "abc123",
description: "The Log Collector"
)
{ name }
}
json
{
"data": {
"updateLogCollectorConfigurationDescription": {
"name": "our-logcollector"
}
}
}
Returned Datatypes
For LogCollectorConfiguration, there are several parameters. Below is a list of them along with a description of each:
Table: LogCollectorConfiguration
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column. | |||||
Table last updated: Sep 26, 2024 | |||||
description | string | Short-Term | A description of the Log Collector configuration. | ||
draft | string | Short-Term | The configuration draft. | ||
draftModifiedAt | datetime | yes | Short-Term | The date and time of the last draft of the configuration. | |
id | string | yes | Short-Term | The unique identifier for the log collector configuration. | |
instances | integer | yes | Short-Term | The number of instances. | |
isTestRunning | boolean | yes | Short-Term | Whether a test is running. | |
modifiedAt | datetime | yes | Short-Term | The date and time of the current configuration. | |
modifiedBy | string | yes | Short-Term | Who last modified the configuration. | |
name | string | yes | Short-Term | The name assigned to the log collector configuration. | |
version | integer | yes | Short-Term | The version used. | |
yaml | string | Short-Term | Configuration in YAML format. | ||
yamlCharactersCount | integer | yes | Short-Term | The YAML character count. |