{
"log_scale_action": {
"name": "<string>",
"action_type": "EMAIL",
"created_at": "2023-11-07T05:31:56Z",
"email_action": {
"attach_csv": true,
"body_template": "<string>",
"recipients": [
"<string>"
],
"subject_template": "<string>",
"use_proxy": true
},
"humio_action": {
"ingest_token": "<string>"
},
"ops_genie_action": {
"api_url": "<string>",
"ops_genie_key": "<string>",
"use_proxy": true
},
"pager_duty_action": {
"routing_key": "<string>",
"severity": "CRITICAL",
"use_proxy": true
},
"repository": "<string>",
"slack_action": {
"fields": {},
"url": "<string>",
"use_proxy": true
},
"slack_post_message_action": {
"api_token": "<string>",
"channels": [
"<string>"
],
"fields": {},
"use_proxy": true
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"upload_file_action": {
"file_name": "<string>"
},
"victor_ops_action": {
"message_type": "<string>",
"notify_url": "<string>",
"use_proxy": true
},
"webhook_action": {
"body_template": "<string>",
"headers": {},
"ignore_ssl": true,
"method": "GET",
"url": "<string>",
"use_proxy": true
}
}
}{
"log_scale_action": {
"name": "<string>",
"action_type": "EMAIL",
"created_at": "2023-11-07T05:31:56Z",
"email_action": {
"attach_csv": true,
"body_template": "<string>",
"recipients": [
"<string>"
],
"subject_template": "<string>",
"use_proxy": true
},
"humio_action": {
"ingest_token": "<string>"
},
"ops_genie_action": {
"api_url": "<string>",
"ops_genie_key": "<string>",
"use_proxy": true
},
"pager_duty_action": {
"routing_key": "<string>",
"severity": "CRITICAL",
"use_proxy": true
},
"repository": "<string>",
"slack_action": {
"fields": {},
"url": "<string>",
"use_proxy": true
},
"slack_post_message_action": {
"api_token": "<string>",
"channels": [
"<string>"
],
"fields": {},
"use_proxy": true
},
"slug": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"upload_file_action": {
"file_name": "<string>"
},
"victor_ops_action": {
"message_type": "<string>",
"notify_url": "<string>",
"use_proxy": true
},
"webhook_action": {
"body_template": "<string>",
"headers": {},
"ignore_ssl": true,
"method": "GET",
"url": "<string>",
"use_proxy": true
}
}
}Chronosphere API token
If true, the LogScaleAction will be created if it does not already exist, identified by slug. If false, an error will be returned if the LogScaleAction does not already exist.
If true, validates the specified configuration without creating or updating the LogScaleAction. If the specified configuration is valid, the endpoint returns a partial response without the LogScaleAction. If the specified configuration is invalid, the endpoint returns an error.
The LogScaleAction to update.
Show child attributes
Name of an action.
EMAIL, HUMIO_REPO, OPS_GENIE, PAGER_DUTY, SLACK, SLACK_POST_MESSAGE, VICTOR_OPS, WEBHOOK, UPLOAD_FILE Data for creating an email action.
Show child attributes
Whether the result set should be attached as a CSV file.
Body of the email. Can be templated with values from the query result.
List of email addresses to send an email to.
Subject of the email. Can be templated with values from the query result.
Defines whether the action should use the configured proxy to make web requests.
Data for creating an OpsGenie action.
Show child attributes
OpsGenie webhook URL to send the request to.
Key to authenticate with OpsGenie.
Defines whether the action should use the configured proxy to make web requests.
Data for creating a PagerDuty action.
Show child attributes
Routing key to authenticate with PagerDuty.
Severity level of the message.
CRITICAL, ERROR, WARNING, INFO Defines whether the action should use the configured proxy to make web requests.
Name of the LogScale repository the alerts belongs to. Required.
Data for creating a Slack action.
Show child attributes
Slack webhook URL to send the request to.
Defines whether the action should use the configured proxy to make web requests.
Data for creating a post message Slack action.
Show child attributes
API token to authenticate with Slack.
List of Slack channels to message.
Defines whether the action should use the configured proxy to make web requests.
The unique identifier of the LogScaleAction. If a slug isn't provided, one is generated based on the name field. You can't modify this field after the LogScaleAction is created.
Data for creating a VictorOps action.
Show child attributes
Type of the VictorOps message to make.
VictorOps webhook URL to send the request to.
Defines whether the action should use the configured proxy to make web requests.
Data for creating a webhook action.
Show child attributes
Body of the HTTP or HTTPS request. Can be templated with values from the query result.
Flag indicating whether SSL should be ignored for the request.
HTTP method to use for the request.
GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS URL to send the HTTP or HTTPS request to.
Defines whether the action should use the configured proxy to make web requests.
A successful response containing the updated LogScaleAction.
Show child attributes
Name of an action.
EMAIL, HUMIO_REPO, OPS_GENIE, PAGER_DUTY, SLACK, SLACK_POST_MESSAGE, VICTOR_OPS, WEBHOOK, UPLOAD_FILE Timestamp of when the LogScaleAction was created. Cannot be set by clients.
Data for creating an email action.
Show child attributes
Whether the result set should be attached as a CSV file.
Body of the email. Can be templated with values from the query result.
List of email addresses to send an email to.
Subject of the email. Can be templated with values from the query result.
Defines whether the action should use the configured proxy to make web requests.
Data for creating an OpsGenie action.
Show child attributes
OpsGenie webhook URL to send the request to.
Key to authenticate with OpsGenie.
Defines whether the action should use the configured proxy to make web requests.
Data for creating a PagerDuty action.
Show child attributes
Routing key to authenticate with PagerDuty.
Severity level of the message.
CRITICAL, ERROR, WARNING, INFO Defines whether the action should use the configured proxy to make web requests.
Name of the LogScale repository the alerts belongs to. Required.
Data for creating a Slack action.
Show child attributes
Slack webhook URL to send the request to.
Defines whether the action should use the configured proxy to make web requests.
Data for creating a post message Slack action.
Show child attributes
API token to authenticate with Slack.
List of Slack channels to message.
Defines whether the action should use the configured proxy to make web requests.
The unique identifier of the LogScaleAction. If a slug isn't provided, one is generated based on the name field. You can't modify this field after the LogScaleAction is created.
Timestamp of when the LogScaleAction was last updated. Cannot be set by clients.
Data for creating a VictorOps action.
Show child attributes
Type of the VictorOps message to make.
VictorOps webhook URL to send the request to.
Defines whether the action should use the configured proxy to make web requests.
Data for creating a webhook action.
Show child attributes
Body of the HTTP or HTTPS request. Can be templated with values from the query result.
Flag indicating whether SSL should be ignored for the request.
HTTP method to use for the request.
GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS URL to send the HTTP or HTTPS request to.
Defines whether the action should use the configured proxy to make web requests.