Filter Logs

Returns the first page of Logs associated with the specified account.

Learn more about using Performance Query Language (PQL)

The Performance Query Language, or PQL, is a simple query language that uses key-comparator-value triplets joined by boolean operators to build queries capable of searching through logs. PQL is inspired heavily by the syntax of SQL's WHERE clauses.

timestamp >= 1499970945 AND (level="error" OR level="warning") AND metadata.test = "test value"

The Dot Operator (.) can be used to search for nested key / value pairs. In the example above, metadata.test is used to access the value of the nested test key under metadata.

PQL supports the following comparator operators: =, !=, <, <=, >, >=, as well as the use of () to indicate the order in which parts are evaluated.

Language
Authentication
Basic
base64
:
Click Try It! to start a request and see the response here!