- 19 Jan 2024
- 4 Minutes to read
- Updated on 19 Jan 2024
- 4 Minutes to read
In this section, the following is discussed:
- What is the purpose of Event Log Data Monitoring
- Setting up an Event Log Data Monitor
What is the purpose of Event Log Data Monitoring
Event logs are files that record the specific events that happen within the environment. The event logs are normally used to inform about important events in the running applications and subsystems such as errors, warnings, or information. The event log information can be used by administrators for troubleshooting problems. BizTalk360 offers administrators the functionality to set filters in event log data monitor on both BizTalk server and SQL server and configure rules based on their requirements. You can configure alerts for a particular event log/source(s) by defining a filter condition on the available event logs and request to be alerted when there are more than a specific number of alerts/warnings from the server.
For e.g., the administrator can set up a monitoring alarm like "Check the BizTalk server monitoring service every 30 minutes on all days in a week and warn me when the event id 5410 (BizTalk Server event) occurs more than 100 times and throw an error when the same event id occurs more than 200 times ". By setting up this alarm, whenever the event id 5410 occurs more than 100 times during a specific 30 minute time interval period, the administrator will receive a warning email notification (with the status as "Warning") from BizTalk360 explaining the current situation. If the value is less than 100, the administrator will receive email notifications with the status as "Success".
By setting up these alarms & notification mechanisms, the need to often log in to the BizTalk360 application and check for specific events becomes eliminated.
Setting up an Event Log Data Monitor
Follow the steps as shown below to create an Event Log Data Monitoring alarm:
- In case you did not do it earlier, follow the steps as mentioned in this section to create a Data Monitoring alarm
- Select the Use this alarm for Data Monitor Alerts checkbox to map the current alarm to Data Monitors. Only when this option is selected, the Notify on Success as well checkbox gets activated.
- The Notify on Success as well checkbox is optional for Data Monitoring, while the Use this alarm for Data Monitor Alerts option is mandatory.
- Click OK to save the alarm information.
1. Choose Alarm - As mentioned above, the first step to set up event log data monitoring is to create an alarm. Once you have created the alarm, the alarm name will be displayed in the drop-down. Select the alarm that should be used for event log data monitoring purposes.
2. Schedule Name - A meaningful name for the event log data monitor. Say, as per your requirement you want to filter condition for Runs Succeeded for every 15 minutes when the count. The monitor name can be set to "Runs Succeeded monitor".
Enable the monitoring schedule. you can disable this to stop monitoring.
3. Set Data Filter
- Select type as Event Log
- Server Type - Select the server type SQL, BizTalk.
- Event log servers - Select the actual servers that need to be monitored.
- Event Type - Select the Log level Error, Warning, Information.
- Event log - Event logs like Application, System, Security, etc can be configured in BizTalk360 Settings. The configured logs will be listed here for monitoring.
- Event Sources - Pick the event sources configured in the Advanced Event Viewer Settings
- Match Condition -This option needs to be selected for the filter options that are selected in the above fields. By default, the value of this field is "All". ALL works as And condition which checks for all the conditions to be true, ANY works as OR condition which checks for anyone condition to be true.
- In Addition, you can filter with Event Id and Message by adding multiple conditions.
4.How do you want to check - Choose whether you want to monitor all the logs from the beginning or only the past few days of logs based on the error logged time.
5.Set the Threshold Condition
- Configure error and warning threshold limit values.
- Send Event Log Details- Enable this to receive the log details as an attachment in the mail.
6. Monitoring Schedule
- Frequency (How often you want to monitor) -Select Daily to monitor the daily activities of the environment and send the log details at the end of the day.
- When during the day - Select when the data monitor must execute on a particular day during business hours. You can customize your business hours by selecting the values from the Business Day Start and Business Day End options.
- At what time? -
- End Of the Business Day - For e.g, if the business end time specified is 5 PM (default value), the data monitor will execute at 5 PM and send an alert at 5 PM.
- Frequency - Select the number of minutes/hours after which the data monitor should execute. E.g., For 1 hour means the data monitor will run once every 1 hour.
- Start Date / End Date - When you want to start/stop the scheduled execution. If you want the schedule to execute all the time, choose No end date.
7. Summary - The summary information will automatically be listed based on the information selected in the previous steps. Click the Save button to store the schedule configuration.
The monthly Data Monitoring schedule configuration now includes an additional option called "End-of-Month." By selecting this option, the schedule will be executed at the end of the month, considering the complete month's data for monitoring purposes.
A link to the KB article is included in the data monitoring alert mail if the resultant service instance is already documented in KB, which helps in quickly resolving the problem.
To get the link BizTalk360 hosted URL must be added in the settings->System Settings-> Data Access ->BizTalk360 Hosted URL