1. Home
  2. ...
  3. Integrations Guide
  4. Observability and Monitoring

Observability and Monitoring

Querying logs and traces

To view and filter the records of all deployed integration executions, access the Executions screen:

Viewing execution records

The integration executions list contains the following fields:

  • TimeStamp: date and time of the start of execution. The format is year-month-day for the date and hour-minute-second for the time.

  • Integration Flow: name of the integration flow.

  • Version: version of the integration flow.

  • Release Version: version of the release (automatic). If the flow is not associated with a release, this field will be blank.

  • Environment: environment where the integration flow was deployed.

  • Elapsed Time: time, in milliseconds, of the integration flow execution.

  • Status: execution status. Can be success or error.

  • Details: execution details:

    • View Trace: by clicking the button, you can view the detailed trace of each step of an integration flow. With this complete view, it will be possible to monitor process performance, identify bottlenecks, and perform debugging efficiently.

    • Log Details: By clicking the button, you will be directed to the Logging screen, which lists the execution logs with status, date, and content. There, you can view:

      • Request records of the REST type trigger.
      • Request and response records of:
        • Connectors
        • JSON Transformation
        • Choice V2
        • For Each

This way, you can perform detailed analyzes of integration flows and optimize efforts for problem solving.

NOTE

Filtering execution records

Filter for the last

In Filter for the last (located in the upper left corner of the screen), you filter the results of your integration execution records using the buttons:

  • 5M for the last 5 minutes;
  • 15M for the last 15 minutes;
  • 1H for the last hour.

Next to it, in Environment, select the environment: Production, Staging, or both.

NOTE

When a filter is applied, the results are not automatically updated after an interval of time. It is necessary to use the button to reestablish the display of data corresponding to the applied filter.

To clear the result of the used filter, click Clear.

Filter

The button allows for more advanced filtering of your execution records.

To use it, follow the steps below:

Click , in the upper right corner of the screen.

In Integration Flow, select the integration flow.

In Status, select whether you want to filter by success or error.

In Start and End, select the period you want to filter.

Click Apply.

If you want to clear the data already entered in the filtering, click Clear

NOTE

If the filtering returns more than 100 thousand records, a message will be displayed requesting the refinement of the search criteria. You can select today or up to 7 days ago, counting date/time.

Sensitive values in records

Credentials and secrets do not appear in clear text in execution records. In flow logs, traces, the error messages shown in Executions and the body of the HTTP 500 error response, Sensedia Integrations replaces the value with <redacted>. The field name stays visible and only the value is replaced. For example: Authorization: Bearer <redacted> and password=<redacted>.

What is redacted

  • The value of a field whose name is in the list below, in a header, query parameter, JSON, form and Cookie or Set-Cookie. The comparison ignores upper and lower case and the characters - and _: X-Api-Key, x_api_key and xapikey count as the same name. If the value is an object or a list in JSON, the whole of it becomes a single <redacted>, even with } or ] inside a double-quoted text. In a printed map or in a structure with single quotes, a } or ] inside a text (x}y) is read as the end of the value, and what follows appears in the record.
  • The client_id, when it appears together with a client_secret.
  • Any text in the Bearer, Basic or JWT format (three parts, the first starting with eyJ), under any field name and even in the middle of a message. The scheme (Bearer or Basic) stays visible. Inside an unquoted value, a Bearer or Basic word glued, without a space, to the character before it (password=]]Bearer abc, password=:Bearer abc) is read as part of that value, and the credential after the space appears.
  • In Authorization and Proxy-Authorization, any scheme other than Bearer or Basic, such as Token, Digest or SSWS, is redacted, including the scheme word, up to the end of the line. The redaction ends earlier, and the rest appears, at a &, a ', a quote that does not open a parameter (nonce="..."), a backslash that starts an escape (\n), and a ,, ;, ), ] or } followed by a space, another delimiter ()), ]], ,,) or a backslash (the comma between the parameters of Digest, SigV4 and OAuth does not end the redaction). In Authorization: Token ab&cd, only Token ab is redacted. A header inside a JSON map ({"Authorization":"..."}) is redacted whole.
  • The password in a URI of the form scheme://user:password@host, also when the user is an e-mail address or the password contains @, ', " or \. The scheme, the user and the host stay visible. Several URIs in the same text, separated by a space, ,, ;, | or &, are read one at a time.
  • The value of the flow's secure variables, of the Authorization credentials applied by the REST connector (API key value, client secret, access token and refresh token) and of Data Source passwords (JDBC and SAP RFC). These values are searched for anywhere in the text, including when encoded for URL and escaped for JSON (as Gson does with &, =, ', < and >), as long as they have 8 characters or more.

Redacted field names:

A business field with one of these names, such as a pagination token, is also redacted.

What is not redacted

  • A password or secret typed directly in the flow YAML or in the message of a log step, when none of the rules above recognizes it: the field name is not in the list, the text is not in the Bearer, Basic or JWT format, it is not the password of a URI and it is not a known value.
  • An unquoted value, in free text, in a printed map, in a query or in a form, ends at the first of these points, and what follows appears in the record:
    • a space, tab or line break. In password=my secret phrase, only my is redacted, and secret phrase appears. The same holds in {password=my secret phrase, user=svc};
    • &, ' or ". In password=P&ssw0rd99, only P is redacted; in password=ab'cd, only ab;
    • a backslash followed by a space, a quote (\' or \"), the end of the text, n, r, t, b, f or u and four hexadecimal digits. In password=ab\ncd, only ab is redacted. A backslash followed by any other character is part of the secret;
    • a comma or semicolon followed by a space, a quote, & or another name= or name:, as in password=ab, cd and password=ab,user=svc. A comma followed by letters is part of the secret;
    • ,, ;, ), ] or } followed by a backslash. In password=ab,\cdefgh, only ab is redacted;
    • ), ] or } followed by a space, a quote or the end of the text, and two delimiters in a row ()), ]], ,,, ),). The closing delimiter is not redacted.
  • A Camel RAW(...) value in an endpoint URI, such as password=RAW(se+cret&x1): only the part up to the first &, space or quote is redacted, and &x1) appears.
  • Values in quotes are redacted whole, even with a space, &, ' or escaped quotes (\"), as in {"password":"a b&c"} and password="a b". To avoid the cases above, put the value in quotes, encode the character in a query or URI (%26 in place of &, %27 for ', %22 for ", %5C for \, %20 for the space) or use a secure variable: the known value, of 8 characters or more, is redacted wherever it appears, raw, encoded for URL or escaped for JSON, including with the \u0026 that Gson writes by default for &. An XML or HTML entity (&amp;, &#38;) and the \uXXXX escape of another character (\u002B for +) are not recognized.
  • A name at the end of a line with the value on the next line (password: and, below it, my-secret): the first token of the next line is redacted, and the rest of that line, from the first space, appears. Blank lines between the name and the value are skipped. The value is taken as empty when nothing follows or when the next line starts another pair: a name followed by : and a space or the end of the line, a name followed by = and anything other than another = or the end of the line, or a quoted name followed by : or =. So a value of that shape on the next line (abc=x, abc:, or a token that ends in a single = followed by a space or more text, YWJjZA= x) is read as a pair and appears, and a list marker (- value) is read as the value, and what comes after it appears. An indented YAML block under the name is redacted whole when the text has real line breaks. Inside a JSON string, where the break appears as \n, a value on an indented line under the name appears in clear (only the \n is replaced), and so does a value after a blank line (\n\n) or after a \r\n break, as does a token that ends in a single = right before the closing quote.
  • A name whose separator is encoded twice (password%253Dvalue) or written as an HTML entity (password&#61;value), a name written with an escape (api\u005fkey=value) and Bearer%2520 (the %20 encoded twice) are not recognized. The name pwd (PWD, Pwd), used in ODBC and ADO.NET connection strings, is not in the name list.
  • An Authorization with a Digest, SigV4 or OAuth scheme on a loose header line, with the = written as %3D or as \u003d (Gson's escape), keeps the parameters after the first one in clear. The line can be inside a JSON string. Covered are the whole value encoded for URL (Authorization=Digest%20username%3D...), a header in a JSON map ({"Authorization":"..."}), even with \u003d, and the line with a plain = inside a JSON string.
  • Text that looks like a credential but has no sensitive name or exact format: bearer or BEARER in free text (calling with bearer abc), an unsigned JWT (two parts), a JWE (five parts: the first three are redacted when the second is not empty, and a JWE with an empty second part, such as one with alg dir, appears whole) and the parameters of a presigned URL, such as X-Amz-Signature.
  • In a URI, a user on its own, as in https://token@host, because it cannot be told from a username. The password appears in clear when the user or the password contains, unencoded, any of these: a space, /, ? or #; a double quote followed by }, ], : or ,"; a backslash followed by a space, ', n, r, t, b, f or u and four hexadecimal digits; or &, ;, , or | followed by text that looks like another name= or another scheme://. So a domain user such as CORP\robert leaves the password in clear (the backslash followed by r), and CORP\Robert does not. To avoid the case, encode the character in the URI, such as %2F in place of /, %5C in place of \, %27 in place of ' and %26 in place of &.
  • Business data the runtime does not recognize. The body of messages goes through the same name, format and known-value rules: a token field in JSON or in a form, or a known value of 8 characters or more in the body, is redacted, but ordinary data, such as a name or an order number, is not. An XML element such as <password>value</password> is not recognized by name, because the name rule needs : or = after it. An attribute, such as password="value", is redacted.
  • A value with fewer than 8 characters outside a field in the list, unless it has a recognized format, such as Bearer or a URI password, which have no minimum length. A secure variable with a short value, for example, is not searched for by value.
  • Records written before the update.
  • Flows deployed before the update. Full redaction applies only after the flow is deployed again. Until then, only logs are covered, by name and format. Traces and values are not covered. Logs are protected by the platform's log collector, which follows the same name and format rules but leaves a few more shapes in clear than the runtime, such as a name with a separator inside a word (pass-word) and a label with its value alone on the next line (Access token: and, below it, the token). Deploying the flow again removes that difference.
  • Flows that run on runtime 3.2.3, which do not receive the redaction done by the runtime. Their logs are covered by name and format. Traces and values are not covered.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more