How to enable Logging from WSO2 Enterprise Integrator solutions to Nodinite
Section titled “How to enable Logging from WSO2 Enterprise Integrator solutions to Nodinite”Enable asynchronous, business-centric logging from WSO2 Enterprise Integrator to Nodinite. This guide helps you capture, format, and move business transaction logs for secure, self-service access and actionable business insights.
- ✅ Log business transactions asynchronously for reliability and performance
- ✅ Format logs for Nodinite and deliver them securely
- ✅ Empower business users with self-service log access and insights
Add custom logging code to your WSO2 Enterprise Integrator solution so you log business transactions to Nodinite.
Diagram: Asynchronous logging flow from WSO2 Enterprise Integrator to Nodinite, using custom code, intermediate storage, and the Nodinite Pickup Log Events Service Logging Agent.
Step by step guide
Section titled “Step by step guide”Follow these steps to enable logging:
1. Create the event
Section titled “1. Create the event”Add custom logging in your flows. Use Log4J or similar frameworks, depending on your design, policy, and needs.
2. Convert the logged event to Nodinite format
Section titled “2. Convert the logged event to Nodinite format”Translate your logs to Nodinite JSON Log Event.
To uniquely identify the Log Agent, set a LogAgentValueId. Make the LogAgentValueId (mandatory number) configurable in your WSO2 Enterprise Integrator solution. Do not hardcode this value—use different values for each environment (e.g., Prod, Test, QA, ...).
3. Send Event to intermediate storage
Section titled “3. Send Event to intermediate storage”Configure the Nodinite Pickup Log Events Service Logging Agent to fetch logged events from your chosen intermediate storage.
4. Move logged events using the Nodinite Pickup Service
Section titled “4. Move logged events using the Nodinite Pickup Service”The Nodinite Pickup Log Events Service Logging Agent fetches Log Events from your intermediate storage. Consume Log Events from any supported source that fits your needs.
5. Configure Message Types
Section titled “5. Configure Message Types”Define Message Types for your WSO2 logged events. Each Message Type represents a specific message format (e.g., "PurchaseOrder#1.0", "Invoice#2.0", "CustomerUpdate#1.0"). Message Types are mandatory and determine which Search Field Expressions will extract business data from your logged messages.
6. Configure Search Field Expressions
Section titled “6. Configure Search Field Expressions”Create Search Field Expressions bound to your Message Types. These expressions extract business identifiers (Order Numbers, Customer IDs, Invoice amounts, Transaction codes) from your logged message bodies using XPath, JSON Path, Regular Expressions, or other parsers.
7. Create Log Views
Section titled “7. Create Log Views”Create Role-based Log Views to visualize and search the logged data. Configure role-based access so business users can self-service search by business data extracted by your Search Field Expressions.
8. Configure Non-Events Monitoring (Optional)
Section titled “8. Configure Non-Events Monitoring (Optional)”Set up Non-Events Monitoring to track expected message volumes and detect missing messages from your WSO2 integrations.
9. Design BPM Processes (Optional)
Section titled “9. Design BPM Processes (Optional)”Use Business Process Modeling (BPM) to correlate transactions end-to-end across your WSO2 Enterprise Integrator flows and other systems.
What firewall settings are required?
Section titled “ What firewall settings are required?”WSO2 Enterprise Integrator never connects to Nodinite directly, so you open these hops only:
- WSO2 Enterprise Integrator → intermediate storage: the storage's own port, for example SMB 445 for a file share, 1433 for SQL Server, 5671-5672 and 443 for Azure Event Hubs or Service Bus, or 443 for Azure Blob Storage. A local folder or database needs no rule.
- Pickup Service → intermediate storage: the same port, outbound from the server that runs the Pickup Service.
- Pickup Service → Log API: the Log API site port, set per environment in the Nodinite Portal. No rule is needed when both run on the Core Services Server.
The Pickup Service firewall settings list every port and hostname per storage type.
Next Steps
Section titled “ Next Steps” Configure Message Types - Critical first step for searchable business data
Configure Search Field Expressions - Extract business identifiers
Create Log Views - Enable business user self-service
Related Topics
Section titled “ Related Topics” JSON Log Event - Required format for WSO2 logging
Message Types - Mandatory for business intelligence features
Search Field Expressions - Extract Order Numbers, Customer IDs, Invoice amounts
Log Views - Business-data searches and role-based access
Non-Events Monitoring - Track message volumes and detect missing messages
Business Process Modeling (BPM) - End-to-end transaction correlation
Asynchronous Logging - Recommended approach for reliability
Context Options - Additional searchable properties
Pickup Service - Fetches log events from intermediate storage
Log Agents - Identify logging sources
Roles - Role-based access control