Log Collector
Introduction
Log Collector O11ySource is designed to gather, aggregate and store log data generated by various software applications, systems, or devices from Linux/Windows operating system. In the context of information technology, logs are records of events or activities that occur within a system. These events could include error messages, warnings, user actions, security events, and more.
Getting Started
Compatibility
Log Collector O11ySource can be configured to collect logs from Linux, Windows, AIX and Solaris systems using the Log Agent method.
Using the OTel Collector method, any application capable of exporting logs via OTLP is supported, regardless of operating system.
Data Collection Method
VuNet's Logbeat and vuLogAgent are used to collect logs from any compatible system based on system OS. Alternatively, the OTel Collector method lets the application push logs directly via OTLP, without installing an agent.
Prerequisites
Inputs for Configuring Data Source
- Application Name: Data source name to uniquely identify the source. Letters, numbers, underscores and hyphens only -- this value is also used to route this source's logs when Ingestion Method is OTel Collector.
- Ingestion Method: Log Agent installs vulogagent/logbeat on the target host to tail the given log paths. OTel Collector instead has the application push logs via OTLP to a collector running in vuSmartMaps -- no agent install, no file path needed.
- Operating System: Specify the type of operating system
- Host: Name/Address of the host where the application is running
- Log configuration: Please provide the log configuration
- Log Path: Please input the correct log path from which log messages are to be read. Ensure that the path is compatible with the operating system of the host. Note that Windows paths will not function on a Linux OS server.
- Ignore Time: This option will ignores any files that were modified before the specified timespan.
- Is this multiline log: Select one of the type from dropdown box
- Pattern: Specifies the regular expression pattern to match. Depending on how you configure other multiline options, lines that match the specified regular expression are considered either continuation of a previous line or the start of a new multiline event. You can set the negate option to negate the pattern.
- Negate: Defines whether the pattern is negated.
- Match: Specifies how Logbeat combines matching lines into an event. The settings are before or after. The behavior of these settings depends on what you specify for negate.
Firewall Requirement
To collect data from this O11ySource, ensure the following ports are opened:
| Source IP | Destination IP | Destination Port | Protocol | Direction |
|---|---|---|---|---|
| Logs Server IP | vuSmartMaps Data Collector IP | 9094 | TCP | Inbound |
| Application Server | vuSmartMaps Data Collector IP | 4324, 4325 | TCP | Inbound |
*Before providing the firewall requirements, please update the port based on the customer environment.
Configuring the Target
Logbeat/vuLogAgent should be running in the server from where logs are to be collected.
When using the OTel Collector method, no agent installation is required. The application must be configured to export logs via OTLP to the vuSmartMaps Data Collector endpoint.
Prerequisite: the application must set the source's Application Name as the app_name resource attribute on every exported log record. Logs sent without a matching app_name attribute are not routed to that application's own I/O Stream; they land in a shared fallback I/O Stream instead, so no source-specific processing (dashboards, alerts) will see them.
Configuration Steps
Enablethe Log Collector O11ySource.- Select the sources tab and click the
+button to add a new instance to be monitored. - Enter the field Application Name and select the Ingestion Method.
- If Ingestion Method is Log Agent, enter the Operating System, Host and Log Configuration fields, then click the Save and Continue button to download the agent.
- The following packages will be available for download based on the OS: Download <OS> <Agent> Installation Package- Downloads the full agent package with required configurations for a fresh installationDownload <OS> <Agent> Config Update Package- Downloads the agent configuration package to update an existing installation
- Download the agent installer or update package, then click
Finishto close the data source window. - If Ingestion Method is OTel Collector, click the Save and Continue button to get the OTLP endpoint to configure in the application. No agent installation is required.
- Select the sources tab and click the
+button to add a new instance to be monitored.
Metrics Collected
The metrics are based on the input data collected.
