Log
algoliasearch.search.Log
case class Log(timestamp: String, method: String, answerCode: String, queryBody: String, answer: String, url: URI, ip: String, queryHeaders: String, sha1: String, nbApiCalls: String, processingTimeMs: String, index: Option[String], queryParams: Option[String], queryNbHits: Option[String], innerQueries: Option[Seq[LogQuery]])
Log
Value parameters
- answer
-
Response body.
- answerCode
-
HTTP status code of the response.
- index
-
Index targeted by the query.
- innerQueries
-
Queries performed for the given request.
- ip
-
IP address of the client that performed the request.
- method
-
HTTP method of the request.
- nbApiCalls
-
Number of API requests.
- processingTimeMs
-
Processing time for the query in milliseconds. This doesn't include latency due to the network.
- queryBody
-
Request body.
- queryHeaders
-
Request headers (API keys are obfuscated).
- queryNbHits
-
Number of search results (hits) returned for the query.
- queryParams
-
Query parameters sent with the request.
- sha1
-
SHA1 signature of the log entry.
- timestamp
-
Date and time of the API request, in RFC 3339 format.
- url
-
URL of the API endpoint.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article