How to Create Alert Query

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

OS version - Centos 7.9.2009

Describe the issue:
How to create below query?

Title - Exception: com.ibm.db2.jcc.am.SqlNonTransientConnectionException

logLevel: ERROR AND exception: orgcom.ibm.db2.jcc.am.SqlNonTransientConnectionException

Configuration:

Relevant Logs or Screenshots:

Maybe what you want is this:

{
  "query": {
    "bool": {
      "should": [
        {
          "term": {
            "Title": "Exception: com.ibm.db2.jcc.am.SqlNonTransientConnectionException"
          }
        },
        {
          "bool": {
            "must": [
              {
                "term": {
                  "logLevel": "ERROR"
                }
              },
              {
                "match": {
                  "exception": "orgcom.ibm.db2.jcc.am.SqlNonTransientConnectionException"
                }
              }
            ]
          }
        }
      ]
    }
  }
}