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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...