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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...