Getting Data In

Split _raw field

3amer92
Explorer

Hello there,

I'm new to Splunk, and I have setup an alert to that returns some field including _raw field.
The thing is that _raw field is to big, I'm wondering if there is a way to return maybe the top two or three rows of it.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

It's not usual to display _raw. Usually, you'll display fields that were extracted from it, instead.
To display part of a field, use substr. For example, ... | eval _raw = substr(_raw, 1, 100) to see the first 100 characters of _raw.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...