Log

algoliasearch.search.Log
case class Log(timestamp: String, method: String, answerCode: String, queryBody: String, answer: String, url: String, 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

Answer body. Truncated after 1,000 characters.

answerCode

HTTP response code.

index

Index targeted by the query.

innerQueries

Performed queries for the given request.

ip

IP address of the client that performed the request.

method

HTTP method of the performed request.

nbApiCalls

Number of API calls.

processingTimeMs

Processing time for the query. Doesn't include network time.

queryBody

Request body. Truncated after 1,000 characters.

queryHeaders

Request headers (API key is obfuscated).

queryNbHits

Number of hits returned for the query.

queryParams

Query parameters sent with the request.

sha1

SHA1 signature of the log entry.

timestamp

Timestamp in ISO 8601 format.

url

Request URL.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product