Authorizations
API key authentication
Response
This data structure is used to retrieve a storage target for logs.
This data structure represents a target to archive logs.
- Target
- Target
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v2/target';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"target": {
"archiveSpec": {
"archivingFormatId": "json_id",
"enableTags": true,
"isActive": true
},
"s3": {
"bucket": "bucket",
"region": "us-west-2"
}
}
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v2/target';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"target": {
"archiveSpec": {
"archivingFormatId": "json_id",
"enableTags": true,
"isActive": true
},
"s3": {
"bucket": "bucket",
"region": "us-west-2"
}
}
}
API key authentication
This data structure is used to retrieve a storage target for logs.
This data structure represents a target to archive logs.
Show child attributes
Was this page helpful?