The main features of the Machbase Collector are described below.
Machbase does not require any additional programs in addition to SQL-based commands to execute the Collector. Simply use the following command to manage and monitor the Collector.
CREATE Collector MANAGER LOCALHOST AT '127.0.0.1:9999';
CREATE Collector LOCALHOST.MYADP FROM 'syslog.tpl';
ALTER Collector LOCALHOST.MYADP START;
Machbase Collector is designed to collect data with a separate Collector for each log data type so each process can process each log file at high speed.
Since separate processes each process log data, they are not affected by other log file processing.
Collector is executed with optimized code for each log type, and data is input with dedicated protocol that minimizes resource usage, so that the best performance can be obtained.
Collects files from local host.
Collects files from remote host.
Collects data coming into port.
Collects files from other databases.
Log Data Types
Regular Expression File Name
Data Default Location (can be modified)
Machbase trace log
Apache web server access file
Apache web server error file
Easily Supports Custom Logs
Machbase Collector can process various kinds of log files that can be represented as regular expressions.
Even if you do not have a log file, you can test sample log messages and regular expressions using machregex.
Prevents Data Loss in the Event of a Failure
Machbase Collector provides the ability to correctly retransmit data that failed to be transmitted in the event of a failure, after the failure has been resolved.
When a failure occurs, the Collector records the last location it sent to the server, resets the fault, and then resends the data from that location.
So, even if you do not write any additional operations or code to overcome the obstacle, you can transfer it to the server without losing any data.
Ensures High Availability
To ensure high availability of services, multiple Collectors can operate simultaneously on the same data source, and these Collectors transfer data to different Machbase servers.
In this way, even if an error occurs in the Machbase server, the same data is continuously stored in another server, so that the service can be continued.
After resolving the error and restarting the server, the Collector can retransmit the untransmitted log data correctly, thus automatically replicating the data to provide high availability.
Integrated Monitoring Through MWA
Machbase Collector manager synchronizes the Collector's execution information to the Machbase server.
Using this, it is possible to perform integrated monitoring through MWA (Machbase Web Admin).
By using MWA, it is possible to monitor various status information of the running Collector and the status information of the server running the Collector in real time.
Log Pre-Processing Using Python Script
You can write a Python script to manipulate the Collector before it processes the data.
The input data can be processed so as not to input unnecessary data, or the parsed data can be changed.