correlate

Create a correlation graph from start objects to goal queries.

Changed on

Specify a set of start objects, as queries or serialized objects, and a goal class. Returns a graph containing all paths leading from a start object to a goal object.

post/graphs/goals

Request

  • Base URL: /api/v1alpha1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1alpha1/graphs/goals
  • Auth: none declared

Query parameters

rulesboolean

If true include rule names in graph edges.

resultsboolean

If true include full JSON results with each Query.

errorsboolean

If true include non-fatal error messages.

Request body

goalsClass[] required

Goal classes in DOMAIN:CLASS format, e.g. log:application, alert:alert

Example request

{
  "goals": [
    "k8s:Pod",
    "metric:metric"
  ],
  "start": {
    "constraint": {
      "end": "2017-07-21T17:32:28.1341231Z"
    },
    "queries": [
      "k8s:Pod:{\"namespace\":\"default\",\"name\":\"my-pod\"}"
    ]
  }
}

Response

OK

Changes

    • ○

      added the optional property ////// to the response with the status

    • ○

      added the optional property //// to the response with the status

    • ●

      removed the request property //////////