Authorizations
API key authentication
Body
application/json
This response data structure represents a collection of enrichments
Response
200 - application/json
Response data structure for enrichments creation
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/enrichments';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"requestEnrichments":[{"enrichedFieldName":"string","enrichmentType":{"geoIp":{"withAsn":true}},"fieldName":"sourceIPs","selectedColumns":["string"]}]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"enrichments": [
{
"enrichedFieldName": 1,
"enrichmentType": {
"geoIp": {
"withAsn": true
}
},
"fieldName": 1,
"id": 1,
"selectedColumns": [
[
"city",
"population"
]
]
}
]
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/enrichments';
let options = {
method: 'POST',
headers: {Authorization: 'Bearer <API_KEY>', 'content-type': 'application/json'},
body: '{"requestEnrichments":[{"enrichedFieldName":"string","enrichmentType":{"geoIp":{"withAsn":true}},"fieldName":"sourceIPs","selectedColumns":["string"]}]}'
};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"enrichments": [
{
"enrichedFieldName": 1,
"enrichmentType": {
"geoIp": {
"withAsn": true
}
},
"fieldName": 1,
"id": 1,
"selectedColumns": [
[
"city",
"population"
]
]
}
]
}
API key authentication
This response data structure represents a collection of enrichments
Show child attributes
Response data structure for enrichments creation
Show child attributes
Was this page helpful?