Getting Data In

Wildcard ... not working in my stanza

daymar_23
Explorer

Hello All: 

I have problems with my application where I am configuring the following stanza in the inputs.config file (C:\Program Files\SplunkUniversalForwarder\etc\apps\ope_web_api\default): 

https://docs.splunk.com/Documentation/SplunkCloud/latest/Data/Specifyinputpathswithwildcards

  • [monitor://D:\package\...\version\Admin\APIS\log]
    disabled = 0
    index = ope_web_api
    sourcetype = api_logs
    ignoreOlderThan = 1d

I have Splunk Cloud 8.2.2 version. 

If I change the ... by the name of the file it works fine: 

  • [monitor://D:\package\ABC\version\Admin\APIS\log]
    disabled = 0
    index = ope_web_api
    sourcetype = api_logs
    ignoreOlderThan = 1d

But I need the ... because not always is the same file name. 

Does somebody know what I am missing here? 

Regards. 

 

Labels (2)
0 Karma

Azeemering
Builder

Have you tried [monitor://D:\package\*\version\Admin\APIS\log]

Example from the docs Specify input paths with wildcards - Splunk Documentation

To monitor /apache/foo/logs, /apache/bar/logs, but not /apache/bar/1/logs or /apache/bar/2/logs, create the following stanza:

[monitor:///apache/*/logs]
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...