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.

    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.

    Response:

    1. {
    2. "jsonrpc": "2.0",
    3. {
    4. "name": "Correlation 1",
    5. "description": "",
    6. "status": "0",
    7. "filter": {
    8. "evaltype": "0",
    9. "formula": "",
    10. "conditions": [
    11. {
    12. "type": "3",
    13. "oldtag": "error",
    14. "newtag": "ok",
    15. }
    16. "eval_formula": "A"
    17. },
    18. "operations": [
    19. {
    20. "type": "0"
    21. }
    22. ]
    23. }
    24. ],
    25. "id": 1
    26. }

    Source