Troubleshooting

A system of log files are available for viewing to help aid any troubleshooting endeavor.

In order for user1 to view all logs:

curl -u $USERPASS $URL/api/v1/logs

In order to view the last 100 lines of the logs:

curl -u $USERPASS $URL/api/v1/logs?tail=100

In order to view the last 100 lines of the logs and follow future log entries:

curl -u $USERPASS $URL/api/v1/logs?tail=100\&follow

In order to view lines 100 through 200 of the logs:

curl -u $USERPASS $URL/api/v1/logs?start=100\&end=200

This concludes the tutorial.

The agent swagger documentation for your account is available at $URL/api/v1/docs.