Deployment Architecture

How does the index point to compressed raw files?

kgregor
New Member

Hey there,

quick question: the raw data in the buckets are stored in a compressed way. The index files point to these raw data files. Now, when I search for events, I assume that Splunk goes through the index, but then needs to return the original events to me. Obviously, when the result shows up, it is in plain text. So when and how does this decompression of the raw data take place?

Thanks and best regards

Konstantin

0 Karma

hunters_splunk
Splunk Employee
Splunk Employee

Hi kgregor,

You are right - post-indexing compression occurs when Splunk writes the raw data and index files to disk.
When you search indexed data, Splunk retrieves data from the _raw field, which contains the original raw data of an event. The search command uses the data in _raw when performing searches and data extraction. I think this is where decompression occurs.
For more detailed information about how splunk handles data, please refer to this topic:
http://docs.splunk.com/Documentation/Splunk/6.5.0/Data/WhatSplunkdoeswithyourdata

Hope it helps. Thanks!
Hunter Shen

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...