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!

Index This | What’s a riddle wrapped in an enigma?

September 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...