Logger component
Setting Up Log Tokenization for Flows
Log messages are often difficult to parse in order to apply meaningful tokenization because they can have so many different formats. The tokenization service connector helps you tokenize logs by parsing the unstructured content of logs to find the break points so that log messages can be broken into meaningful tokens. You can leverage the Anypoint Security tokenization service, which runs in Runtime Fabric, to tokenize and detokenize Mule app logs.
This feature is available only if your organization has the Anypoint Integration Advanced package or a Titanium subscription to Anypoint Platform. For more information, see the Pricing and Packaging documentation.
Supported Mule Versions
Log tokenization is supported on:
-
Hybrid apps running on Mule 3.x or 4.x
-
CloudHub apps running on Mule 3.x or 4.x
Prerequisites
-
Enable inbound traffic on Runtime Fabric.
-
In Anypoint Security, create a tokenization format.
-
In Runtime Manager, create the tokenization service.
-
In API Manager, set up the API gateway for the Mule app to serve as the proxy.
Add the Required Components to Your App Flow
To enable log tokenization, you need to create an app flow using Studio or Anypoint Code Builder and add the required components.
-
In Studio or Anypoint Code Builder, create an app flow for the Mule app.
-
Add the following components to your Mule app flow.
Component Description This core component logs important information. You can add the Logger component anywhere in a flow. See Logger Component.
Tokenization API
The Tokenization API allows calls to a configured tokenization service which enables you to substitute a sensitive data element with a non-sensitive equivalent.
The Tokenization API is available on the MuleSoft public portal. Go to Anypoint Exchange and search for "Tokenization API".Log Tokenization connector
The Log Tokenization connector is in Monitoring > Tools.
-
After you configure your app flow, in Anypoint Monitoring, click Log Search.
On the log search page, you can search for the tokenized values.
-
To detokenize a value, go to API Manager. See Detokenization Policy
You must have the Manage Policies permission to detokenize values. See Granting Permission to Access an Environment