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 |
You can execute this request also with an OAuth2 client with openpipeline:configurations:read permission.
To learn how to obtain and use it, see OAuth clients.
| Parameter | Type | Description | In | Required |
|---|---|---|---|---|
| body | Matcher | Valid LQL matcher for conversion. | body | required |
MatcherRequest object| Element | Type | Description | Required |
|---|---|---|---|
| query | string | The matcher query to process. | optional |
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\""}
| Code | Type | Description |
|---|---|---|
| 200 | Matcher | Returns the converted LQL matcher in DQL format. |
| 4XX | Error | Client-side error. |
| 5XX | Error | Server-side error. |
MatcherRequest object| Element | Type | Description |
|---|---|---|
| query | string | The matcher query to process. |
{"query": "matchesValue(log.source, \"snmptraps\") and matchesValue(snmp.trap_oid, \"F5-BIGIP-COMMON-MIB\")"}
ErrorResponseEnvelope objectEncloses the encountered error.
| Element | Type | Description |
|---|---|---|
| error | Error | Basic information of the encountered error. |
ErrorResponse objectBasic 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. |
ErrorResponseDetails objectDetailed 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:
|
ConstraintViolationDetails objectList of encountered constraint violations.
| Element | Type | Description |
|---|---|---|
| constraintViolations | Constraint | List of encountered constraint violations. |
ConstraintViolation objectInformation about a single constraint violation.
| Element | Type | Description |
|---|---|---|
| context | object | Structured context of the constraint violation. Well known keys that can be present are:
|
| message | string | Description of the constraint violation. |