EnrichmentPolicy
EnrichmentPolicy - Create
Adds a new enrichment policy.
POST
https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/EnrichmentPolicyParameters
id
-
String
Existing enrichment policy id. Mandatory Field
name
Policy Name
String
Enrichment policy name. Mandatory Field
description
Description
String
Description for the enrichment policy. Optional Field
specifications
Specification
[json]
Mandatory Field. See specifications details below.
Request Example
{
"data": {
"name": "testPolicy",
"specifications": [
{
"rules": [
{
"category": "simple",
"source_key": "id",
"prefix": false,
"operation": "Equals",
"type": "string",
"event_key": "id"
}
],
"source": "test_odbc",
"criteria": [
{
"type": "KeyPresents",
"key": "id",
"value": ""
}
]
}
],
"description": "Enrichment Policy <i> description </i>."
}
}Success Response
EnrichmentPolicy - Edit
Edits an enrichment policy of given id.
PUT
Parameters
id
-
String
Existing enrichment policy id. Mandatory Field
name
Policy Name
String
Enrichment policy name. Mandatory Field
description
Description
String
Description for the enrichment policy. Optional Field
specifications
Specification
[json]
Mandatory Field. See specifications details (same as Create).
Request Example
Success Response
EnrichmentPolicy - Get
Fetches an enrichment policy with given id.
GET
Parameters
id
-
String
Existing Enrichment Policy id.
Success Response
EnrichmentPolicy - List
Lists all enrichment policies.
GET
Success Response
EnrichmentPolicy - Trash
Deletes an enrichment policy with given id.
DELETE
Parameters
id
-
String
Enrichment Policy id. Mandatory Field
Success Response
Last updated
Was this helpful?