The method allows to retrieve correlations according to the given parameters.该方法允许根据给定的参数获取关联。
Parameters 参数
(object)
Parameters defining the desired output.定义所需输出的参数。
The method supports the following parameters.该方法支持以下参数。
an array of objects;一组对象;
the count of retrieved objects, if the
countOutput
parameter has been used.如果已经使用“countOutput”参数,则检索到的对象的计数。
Examples 示例
Retrieve correlations获取关联
Retrieve all configured correlations together with correlation conditions and operations. The filter uses the “and/or” evaluation type, so the formula
property is empty and eval_formula
is generated automatically.获取所有配置的关联以及关联条件和操作。过滤器使用“和/或”评估类型,因此属性为空,“eval_formula”是自动生成的。
Response:
- {
- "jsonrpc": "2.0",
- "result": [
- {
- "name": "Correlation 1",
- "description": "",
- "status": "0",
- "filter": {
- "evaltype": "0",
- "formula": "",
- "conditions": [
- {
- "type": "3",
- "oldtag": "error",
- "newtag": "ok",
- "formulaid": "A"
- }
- "eval_formula": "A"
- },
- "operations": [
- {
- "type": "0"
- }
- ]
- }
- ],
- "id": 1
- }