Getting Data In

How can we parse syslogs?

ddrillic
Ultra Champion

We have log files which contain syslogs, such as -
-- Jun 8 11:04:26 PRD_DMZ_004_XXXX-PROD-XXXAPP [0x810002d4][cli][error] trans(1582882743): TCP connection to "xx.xxx.xxx.xxx port 443" failed (connection refused)

On the UI, it's pretty gloomy as no fields are being parsed. What can we do?

For one thing, I'm not even sure whether these log files conform to the "standard" syslog syntax...

Tags (2)
0 Karma
1 Solution

sundareshr
Legend

Simplest would be to use a pretrained sourcetypes. But not all formats are pretrained. If yours is not, you can use IFX or write your own regex to extract the fields.

View solution in original post

0 Karma

sundareshr
Legend

Simplest would be to use a pretrained sourcetypes. But not all formats are pretrained. If yours is not, you can use IFX or write your own regex to extract the fields.

0 Karma

ddrillic
Ultra Champion

Sounds great. Much appreciated.

0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...