Skip to main content
Add Enrichments
curl --request POST \
  --url https://api.coralogix.com/mgmt/openapi/latest/enrichment-rules/enrichment-rules/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "requestEnrichments": [
    {
      "enrichedFieldName": "<string>",
      "enrichmentType": {
        "geoIp": {
          "withAsn": true
        }
      },
      "fieldName": "sourceIPs",
      "selectedColumns": [
        "<string>"
      ]
    }
  ]
}'
{
  "enrichments": [
    {
      "enrichedFieldName": 1,
      "enrichmentType": {
        "geoIp": {
          "withAsn": true
        }
      },
      "fieldName": 1,
      "id": 1,
      "selectedColumns": [
        [
          "city",
          "population"
        ]
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json

This response data structure represents a collection of enrichments

requestEnrichments
Enrichment Prototype · object[]
required

Response

200 - application/json

Response data structure for enrichments creation

enrichments
Enrichment · object[]
required