OpenPipeline API - POST a DQL matcher from a LQL matcher
Transforms the given LQL matcher into a DQL matcher.
The request produces an application/json
payload.
POST | SaaS | https://{your-environment-id}.apps.dynatrace.com/platform/openpipeline/v1/matcher/lqlToDql |
Authentication
To execute this request, you need an OAuth2 client with openpipeline:configurations:read
permission.
To learn how to obtain and use it, see OAuth clients.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
body | Matcher | Valid LQL matcher for conversion. | body | required |
Request body objects
The MatcherRequest
object
Element | Type | Description | Required |
---|---|---|---|
query | string | The matcher query to process. | optional |
Request body JSON model
This is a model of the request body, showing the possible elements. It has to be adjusted for usage in an actual request.
{"query": "log.source=\"snmptraps\" AND snmp.trap_oid=\"F5-BIGIP-COMMON-MIB::*\""}
Response
Response codes
Code | Type | Description |
---|---|---|
200 | string | Returns the converted LQL matcher in DQL format. |
4XX | Error | Client-side error. |
5XX | Error | Server-side error. |
Response body objects
The ResponseBody
object
JSON models
The ErrorResponseEnvelope
object
Encloses the encountered error.
Element | Type | Description |
---|---|---|
error | Error | Basic information of the encountered error. |
The ErrorResponse
object
Basic information of the encountered error.
Element | Type | Description |
---|---|---|
code | integer | The returned HTTP status code. |
details | Error | Detailed information of the error. |
message | string | Description of the encountered error. |
The ErrorResponseDetails
object
Detailed information of the error.
Element | Type | Description |
---|---|---|
type | string | Defines the actual set of fields depending on the value. See one of the following objects:
|
The ConstraintViolationDetails
object
List of encountered constraint violations.
Element | Type | Description |
---|---|---|
constraintViolations | Constraint | List of encountered constraint violations. |
The ConstraintViolation
object
Information about a single constraint violation.
Element | Type | Description |
---|---|---|
message | string | Description of the constraint violation. |