Analytics

Fields

get

Values that can be used for the field parameter in subsequent API calls

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contextstring · enumRequired

Context of the Fields Request

Possible values:
Responses
get
/api/v1/stats/{context}/fields

Aliases

get

Values that can be used for the field parameter in subsequent search API calls. Aliases are shortcuts for searching multiple fields of a similar nomenclature. Examples:

  • ip == 8.8.8.8 will be interpolated to create a search of (dstip = 8.8.8.8 or srcip = 8.8.8.8)

  • ipname == myipname will create a search of (dstipname = myipname or srcipname = myipname)

  • as.number will search the fields dstas.number, dstowneras.number, srcas.number, and srcowneras.number

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contextstring · enumRequired

Context of the Fields Request, e.g. flow

Possible values:
Responses
get
/api/v1/stats/{context}/aliases

Metrics

get

Values that can be used for the metric parameter in subsequent search API calls

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contextstring · enumRequired

Context of the Metrics Request

Possible values:
Responses
get
/api/v1/stats/{context}/metrics

Time Series

post

Request data as a time series. This is used for charts and graphs.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contextstring · enumRequired

Data category or event type to query (e.g., alerts, audit logs, blocked traffic, network flows, DNS queries)

Possible values:
Body
startintegerRequired

Start time for this time series. Negative for lookback (Eg. -3600 for 1 hour ago) or timestamp in milliseconds.

Example: -3600
endintegerRequired

End time for this time series. Negative for lookback (Eg. -3600 for 1 hour ago), 0 for NOW or timestamp in milliseconds.

Example: 3600
formatstring · enumOptional

Series data can be provided in a variety of formats which are native to some charting libraries. e.g. amcharts or highcharts

Default: highchartsExample: highchartsPossible values:
Responses
post
/api/v1/stats/{context}/ts

Aggregations

post

Get summarized statistics by aggregating data for the specified context over a given time range. Returns computed metrics like counts, sums, averages, etc. rather than individual events.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
contextstring · enumRequired

Data category or event type to query (e.g., alerts, audit logs, blocked traffic, network flows, DNS queries)

Possible values:
Body
startintegerRequired

Start time for this time series. Negative for lookback (Eg. -3600 for 1 hour ago) or timestamp in milliseconds.

Example: -3600
endintegerRequired

End time for this time series. Negative for lookback (Eg. -3600 for 1 hour ago), 0 for NOW or timestamp in milliseconds.

Example: 0
formatstring · enumOptional

Series data can be provided in a variety of formats which are native to some charting libraries. e.g. amcharts or highcharts

Default: highchartsExample: highchartsPossible values:
Responses
post
/api/v1/stats/{context}/agg

Last updated