Docs Menu
Docs Home
/ /

Ops Manager Server Log Collection Jobs

You can use the Ops Manager API to collect application server logs from one or more Ops Manager servers. After you submit a request, Ops Manager distributes the work to the target servers. Each server collects its logs in a background task, compresses and encrypts the result, and stores the archive in the Application Database. Use the following endpoints to create, monitor, download, extend, retry, and delete Ops Manager server log collection jobs.

To use the Ops Manager Server Log Collection resources, you must have one of the following roles:

Base URL: https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0

The following lists the endpoints available for the Ops Manager Server Log Collection resource.

Method
Endpoint
Description

GET

Lists active servers eligible for log collection.

POST

Creates a new server log collection job.

GET

Retrieves all server log collection jobs.

GET

Retrieves a single server log collection job.

GET

Downloads the archive for a completed log collection job.

PATCH

Extends the expiration of a log collection job.

POST

Retries the failed tasks in a log collection job.

DELETE

Deletes a log collection job and its archive.

Back

Delete