query

Execute a query, returns a list of JSON objects.

Changed on

Execute a single Korrel8r 'query' and return the list of serialized objects found. Does not perform any correlation actions.

get/objects

Request

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

Query parameters

querystring required

Query for data objects, format is DOMAIN:CLASS:SELECTOR. DOMAIN: name of a domain (e.g. k8s, log, metric, alert, trace, netflow). CLASS: name of a class in the domain (e.g. Pod, application, metric, alert, span, network). SELECTOR: domain-specific query string.

Query string.

startstring date-time

Ignore objects with timestamps before this start time.

endstring date-time

Ignore objects with timestamps after this end time.

limitinteger

Limit total number of objects per query.

Constrains the objects that will be included in results.

{
  "end": "2017-07-21T17:32:28.1341231Z"
}

Response

OK

object[] required

Changes