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.

View solution in original post

0 Karma

ddrillic
Ultra Champion

Sounds great. Much appreciated.

0 Karma
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!