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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...