Skip to main content
Atomic Overwrite Enrichments
curl --request PUT \
  --url https://api.coralogix.com/mgmt/openapi/latest/enrichment-rules/enrichment-rules/v1 \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "enrichmentFields": [
    {
      "enrichedFieldName": "<string>",
      "fieldName": "<string>",
      "selectedColumns": [
        "<string>"
      ]
    }
  ],
  "enrichmentType": {
    "geoIp": {
      "withAsn": true
    }
  },
  "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
enrichmentFields
object[]
enrichmentType
object
  • Option 1
  • Option 2
  • Option 3
  • Option 4
requestEnrichments
Enrichment Prototype · object[]

Response

200 - application/json
enrichments
Enrichment · object[]