Log Source Parser Fallback

Introduction

This article provides information about the Logsign parser fallback module, which offers you an option to make syslog log sources meaningful.

Parser Fallback

When an integrated log source sends data, the received data is made meaningful by mapping and normalization in the parser service. For this process, a vendor and product (plugin) is selected when the log source is added, and parser services use it to parse the logs. In some cases, logs may arrive in different formats, causing problems during parsing. In such cases, adding other plugins as fallbacks can prevent the issues, and this process is called parser fallback.

The parser first tries the vendor and product selected for the source. Only if that plugin cannot parse a log line are the fallback plugins tried, one by one, in the order they appear in the Parser Fallback List. Parser fallback is available on syslog log sources.

In the example below, auditd logs are obtained from the 10.10.11.70 log source, and session history logs also arrive from the same IP.

1.png

Go to Settings › Integrations › Data Collection and open the syslog source. Next to Parser Fallback, click Add. In the Add Parser Fallback window, select Linux in Vendor List and Session History in Product, then click Save. The plugin is added to the Parser Fallback List. You can change the order of the entries by dragging them, or remove an entry from the list.

2.png

3.png

When the process is completed, save the source with the Save button at the bottom of the form.

Each fallback plugin is an extra parse attempt for every log line that the primary plugin cannot parse, so using fallback on a high EPS source causes slowness in parser services. Therefore, the fallback process is not recommended for high EPS sources. Instead, add the logs as a new syslog source for the same IP and select the matching value in the Syslog Facility field.

Was this article helpful?
1 out of 3 found this helpful

Articles in this section

See more
Become a Certified Logsign User/Administrator
Sign-up for Logsign Academy and take the courses to learn about Logsign USO Platform in detail. Enjoy the courses, and get your badges and certificates. In these courses, you'll learn how to use Logsign in your work and add value to your career.
Visit Our Blog
Our Logsign USO Platform illustrate our expertise. So do the blog. Through our blog posts, deepen your knowledge on various SecOps topics or get updated about important news & modern approaches for cybersecurity. Get into the habit of reading valuable information provided by Logsign. Be a step ahead.