Splunk Search

Host regex stopped working after upgrade

carmackd
Communicator

I recently upgraded a forwarder from 4.0.9 to 4.1.4, and after I did so, the host_regex I had in place on 4.0.9 stopped working. Does anyone know why it would work with 4.0.9, and not 4.1.4? Here is the host regex attribute I'm using, and an example of the file path.

host_regex = ^\/\w+\/\w+\/\w+\/\w+\/(\w+)

/mount/u01/vault/win/hostname.xxxx.xxxx.com/hostname.xxxx.xxxx.com-syslog-info-2011-01-08

Tags (2)

ahall_splunk
Splunk Employee
Splunk Employee

It would be helpful to post your full inputs.conf stanza, plus any props that are relevant to the input.

0 Karma
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 ...