Getting Data In

Why does /foo/m*r/bar match /foo/bar in a monitor

cramasta
Builder

I see in the docs for inputs.conf that a monitor with

/foo/m*r/bar will match /foo/bar

Can someone explain why that would be the case? The way I would have thought this to work is that there would need to be some directory in foo that starts with the character m and ends with the character r (and have any characters in between), and then that directory contains a directory bar.

It makes sense why it would match /foo/mr/bar, /foo/mir/bar, or /foo/moor/bar.

Thanks

hexx
Splunk Employee
Splunk Employee

Thank you for reporting this issue. This is indeed an incorrect example and it will be removed from the inputs.conf.spec file in a future maintenance release.

kml_uvce
Builder

Looks like its wrong as I also tried to read file monitor://C:/\Users/\Admin/\Desktop/\m*r/\test5 but splunk not reading file monitor://C:/\Users/\Admin/\Desktop/\test5

0 Karma

cramasta
Builder

bumpbump

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...