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 MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...