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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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