Search A Diagnostics Log

post

/management/weblogic/{version}/serverRuntime/partitionRuntimes/{name}/WLDFPartitionRuntime/WLDFPartitionAccessRuntime/WLDFDataAccessRuntimes/{name}/search

Search this diagnostics log, returning the results in the same text format as the corresponding server-side log files.

Request

Supported Media Types
Path Parameters
Header Parameters
  • The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Body ()

Must contain the following fields:

Root Schema : Search Criteria
Type: object
Title: Search Criteria
Show Source
  • Only return records starting at this record id or later.

    This can be used to continue a search that has more matching results than the specified limit field. The previous response will return a nextRecordId. Set fromId to that value and POST again to continue the search.

    This field is optional.

  • Only return records that have been logged in the last n minutes.

    This field is optional. If specified, the value must be greater than zero.

  • The maximum number of matching records that will be returned.

    If there are more available records, then the response will contain the oldest matching records, as well as a nextRecordId that the client can use to continue the search (by setting fromId to its value).

    This field must be specified. The value must be greater than zero.

  • An optional filter that can be used to restrict which records are returned, for example "SEVERITY = 'Info'". See "WLDF Query Language in Configuring and Using the Diagnostics Framework for Oracle WebLogic Server" for more details.

    This field is optional. If not specified, then no filter is applied to the records.

  • Only return records that were logged at this time or later.

    This field is optional. If specified it must be in one the following formats: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX" (e.g. "2016-05-24T13:44:02.349-04:00"), "yyyy-MM-dd'T'HH:mm:ss.SSSXX" (e.g. "2016-05-24T13:44:02.349-0400") or "yyyy-MM-dd'T'HH:mm:ss.SSSX" (e.g. "2016-05-24T13:44:02.349-04").

  • Only return records that were logged earlier than this time.

    This field is optional. If specified it must be in one the following formats: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX" (e.g. "2016-05-24T13:44:02.349-04:00"), "yyyy-MM-dd'T'HH:mm:ss.SSSXX" (e.g. "2016-05-24T13:44:02.349-0400") or "yyyy-MM-dd'T'HH:mm:ss.SSSX" (e.g. "2016-05-24T13:44:02.349-04").

Security
Back to Top

Response

Supported Media Types

200 Response

Returns the matching records in the same text format as the corresponding server-side log files. The records are in chronological order, oldest record first.

If there are more matching records than limit specified in the request body, then the oldest limit matching records are returned, and an extra line is added to the response in the form nextRecordId=nnn. It contains the record id of the next matching record. The client can continue the search by POSTing the same query to this resource again, setting fromId to the value of nextRecordId, instead of specifying lastMinutes or since

Body ()
Root Schema : Results
Type: string
Title: Results
Back to Top