List observability destinations
/observability-destination
List log forwarding destinations configured for the active environments.
Query Parameters
Only destinations of this type.
datadogsplunk_hecsentinelotlpelasticsearchs3
Filter by name.
Only active (true) or inactive (false) destinations.
Filter by destination ID.
Only the destinations in this environment.
The number of destinations per page. Default and maximum 1000.
The next_cursor from the previous page.
Response Body
Non-secret destination configuration, shaped by type. A destination saved before its type's fields were required may come back with only some of them.
Datadog · 3 properties
The kinds of logs to forward. Leave it out to forward all of them; an empty list forwards none.
apidurable_objectqueuealarm
us1us3us5euap1
["env:prod"]Splunk Hec · 5 properties
A public https URL.
https://splunk.example.com:8088The kinds of logs to forward. Leave it out to forward all of them; an empty list forwards none.
apidurable_objectqueuealarm
Sentinel · 7 properties
publicusgovchina
The data collection endpoint, a public https URL.
The kinds of logs to forward. Leave it out to forward all of them; an empty list forwards none.
apidurable_objectqueuealarm
Custom-TrutoLogs_CLOtlp · 3 properties
A public https URL.
https://otlp.example.com/v1/logsThe kinds of logs to forward. Leave it out to forward all of them; an empty list forwards none.
apidurable_objectqueuealarm
Elasticsearch · 4 properties
An index or data stream name.
The kinds of logs to forward. Leave it out to forward all of them; an empty list forwards none.
apidurable_objectqueuealarm
A public https base URL.
https://es.example.comS3 · 5 properties
truto-logsThe base URL of S3-compatible storage such as Google Cloud Storage (https://storage.googleapis.com), R2 or MinIO.
The kinds of logs to forward. Leave it out to forward all of them; an empty list forwards none.
apidurable_objectqueuealarm
A key prefix for the log objects.
An AWS region such as us-east-1. Defaults to auto when endpoint is set.
When the destination was created.
The environment whose logs are forwarded.
The ID of the observability destination.
Whether forwarding is enabled.
Human-readable destination name.
Destination type.
datadogsplunk_hecsentinelotlpelasticsearchs3
When the destination was last updated.
curl -X GET 'https://api.truto.one/observability-destination' \
-H 'Authorization: Bearer <your_api_token>' \
-H 'Content-Type: application/json'const response = await fetch('https://api.truto.one/observability-destination', {
method: 'GET',
headers: {
'Authorization': 'Bearer <your_api_token>',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import requests
url = "https://api.truto.one/observability-destination"
headers = {
"Authorization": "Bearer <your_api_token>",
"Content-Type": "application/json",
}
params = {
}
response = requests.get(url, headers=headers, params=params)
print(response.json())