Splunk Search

Spaces are being replaced by tabs

stevennoble
Explorer

I've noticed that in a few logs places where I have four spaces in a row are being substituted with a space and a tab. This is breaking regex rules. Is this a default setting I can find somewhere? Any idea where I can look to see what's causing this?

Tags (1)
0 Karma
1 Solution

sciurus
Path Finder

Are you sure it's not in the source data?

You could also change the regex's to use \s+ instead of literal spaces.

View solution in original post

sciurus
Path Finder

Are you sure it's not in the source data?

You could also change the regex's to use \s+ instead of literal spaces.

Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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