Splunk Search

INFO, ERROR and FATAL

ycalpu
New Member

Hi all, if a log has the following types of log entries (INFO, ERROR, FATAL), how do I get splunk to recognise those entries as a field.
YC

Tags (1)
0 Karma

lukejadamec
Super Champion

Run a search that pulls only that source or sourcetype and use the field extractor. I prefer to use a source when specifying an automated field extraction.

0 Karma

lukejadamec
Super Champion

I use the field extractor and call the field LogLevel.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Do post some representative sample events.

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...