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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...