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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...