/
Log Status

Log Status

The status for a data and event log reports the number of entries and size of the log. 

URI Definition

Method

URI and Fields

GET

/iap/log/status

Returns the following fields for all data and event logs:

entries              number of entries                                                
sizenumber of bytes

Query Parameter

  • tags - filters logged data by tags. Can be specified both as only tag name and key=value pair.

Success Response

Request returns the following fields: entries – number of entries, and size – number of bytes.

Example

https://localhost/iap/log/status?tags=log_level_2;log_level_1

https://localhost/iap/log/status?tags=tag=value;log_level_1;tag2=value2


Response

{
"entries":15,
"size":16384
}                                                                                                                                                   

Query Parameters

Optional query parameters can be used with your REST request.  Specifying queries is described under Queries and ParametersPath Parameters, and Query Parameters.





Related content

Log State
More like this
Logging
More like this
Log Destination
Log Destination
More like this
Retrieving Logged Data
Retrieving Logged Data
More like this