Getting Data In

Deployment app wildcard Issue with inputs.conf file on windows application

rcrook89
Engager

We have multiple forwarders running on Windows servers that need to monitor application log directories. The only difference in each log path, is one segment.

For Example:

D:\abc\tra\domain\CPWCLPRD\application\logs\
D:\abc\tra\domain\CPWULPRD\application\logs\
D:\abc\tra\domain\SSSCQA\application\logs\

When the path is explicitly defined, the monitor works. However, I have been trying to use the following monitor in the inputs.conf file, but it doesn't work as soon as I put the "..." wildcard in.

[monitor://D:\abc\tra\domain\\...\application\logs\]
disabled = false
ignoreOlderThan = 7d
sourcetype = abc_defghi
index = xyz_funding
0 Karma
1 Solution

rcrook89
Engager

I figured out the resolution on this.

It looks like a bug was fixed in 6.5.1. that resolves an issue with using wildcards in the file monitor for an inputs.conf file.

In 6.5, for windows, you have to specify ".." as the wildcard in an inputs.conf monitor.

In 6.5.1, for windows, you can specify "..." in an inputs.conf file as the wildcard (per Splunk's documentation).

View solution in original post

0 Karma

rcrook89
Engager

I figured out the resolution on this.

It looks like a bug was fixed in 6.5.1. that resolves an issue with using wildcards in the file monitor for an inputs.conf file.

In 6.5, for windows, you have to specify ".." as the wildcard in an inputs.conf monitor.

In 6.5.1, for windows, you can specify "..." in an inputs.conf file as the wildcard (per Splunk's documentation).

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...