Log Session API
The Log Session resource allow you to create a log session which can be used to retrieve log data. Log sessions are short-lived and we recommend using the log Drains to integrate with your own and 3rd party services.
Create Log Session
Creates a log session. The log session is valid for 1 minute and has to be accessed before it expires. Keep the connection open to continue to retrieve log messages after that.
IMPORTANT: Adding hostnames to an application incurs a cost, see the pricing page for details.
|tail||Required||Boolean value indicating whether you want to start a tail log session|
|limit||Required||The number of logs to fetch on the initial request|
|sourceFilter||Optional||Only receive log messages from this source when specificed|
|processFilter||Optional||Only receive log messages from this process when specificed|
Status: 201 Created Location: https://logplex.appharbor.com/sessions/:id
Tips and tricks