indexSearch

Search and count the log line hits on every provided host

get/srch/index/search/count_service_logs

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/srch/index/search/count_service_logs
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Query parameters

search_querystring required
min_tsstring date-time
max_tsstring date-time

Response

search results

query_parse_errorsstring[]

a list of the terms that couldn't be parsed (and thus ignored)

count_per_hostobject

count of log lines that matched the query per hostname

Changes

No recorded changes to this operation across all 304 revisions of this API.