curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/data-exploration/saved-views/v1 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Logs view",
"timeSelection": {},
"filters": {
"filters": [
{
"name": "applicationName",
"selectedValues": {}
}
]
},
"folderId": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"viewType": "VIEW_TYPE_UNSPECIFIED"
}
'{
"id": 52,
"name": "Logs view",
"timeSelection": {},
"filters": {
"filters": [
{
"name": "applicationName",
"selectedValues": {}
}
]
},
"folderId": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"isCompactMode": true,
"viewType": "VIEW_TYPE_UNSPECIFIED"
}Creates a new view
curl --request POST \
--url https://api.coralogix.com/mgmt/openapi/latest/data-exploration/saved-views/v1 \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Logs view",
"timeSelection": {},
"filters": {
"filters": [
{
"name": "applicationName",
"selectedValues": {}
}
]
},
"folderId": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"viewType": "VIEW_TYPE_UNSPECIFIED"
}
'{
"id": 52,
"name": "Logs view",
"timeSelection": {},
"filters": {
"filters": [
{
"name": "applicationName",
"selectedValues": {}
}
]
},
"folderId": "3dc02998-0b50-4ea8-b68a-4779d716fa1f",
"isCompactMode": true,
"viewType": "VIEW_TYPE_UNSPECIFIED"
}API key authentication
View folder.
View name
1"Logs view"
Show child attributes
Show child attributes
Unique identifier for folders
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"3dc02998-0b50-4ea8-b68a-4779d716fa1f"
Show child attributes
VIEW_TYPE_UNSPECIFIED, VIEW_TYPE_LOGS, VIEW_TYPE_TEMPLATES, VIEW_TYPE_ARCHIVE_LOGS, VIEW_TYPE_ARCHIVE_TEMPLATES Response for views.
id
52
View name
1"Logs view"
Show child attributes
Show child attributes
Unique identifier for folders
36^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"3dc02998-0b50-4ea8-b68a-4779d716fa1f"
Show child attributes
VIEW_TYPE_UNSPECIFIED, VIEW_TYPE_LOGS, VIEW_TYPE_TEMPLATES, VIEW_TYPE_ARCHIVE_LOGS, VIEW_TYPE_ARCHIVE_TEMPLATES Was this page helpful?