Installation

How would I initialize monitor command to pull the data/files from variable paths /locations?

SplunkDash
Motivator

Hello,

How would I initialize monitor command to pull the data/files from variable paths /locations? Some examples along with monitor command provided below:

Paths/Locations:

/RTAM/PROD_LOGS/PROD_DATA/2021-01-28_03-39-15/AUDITDATA/APPS/AUDITPROD.txt

/RTAM/PROD_LOGS/PROD_DATA/2021-01-29_09-12-12/AUDITDATA/APPS/AUDITPROD.txt

.........

..........

.........

/RTAM/PROD_LOGS/PROD_DATA/2021-02-02_06-19-10/AUDITDATA/APPS/AUDITPROD.txt

/RTAM/PROD_LOGS/PROD_DATA/2021-02-02_08-07-14/AUDITDATA/APPS/AUDITPROD.txt

Monitor Command I wrote:

[monitor://

/RTAM/PROD_LOGS/PROD_DATA/.../AUDITDATA/APPS/AUDITPROD.txt]

is this going to work to pull the data/files from all of the locations mentioned above? Any help/feedback will be highly appreciated. Thank you.

Labels (1)
0 Karma
1 Solution

SanjayReddy
SplunkTrust
SplunkTrust

Hi @SplunkDash 

instaed of ... (ellipsis wildcard) , please use(*)asterisk wildcard for moniting the path 

[monitor:///RTAM/PROD_LOGS/PROD_DATA/*/AUDITDATA/APPS/AUDITPROD.txt]

 

SanjayReddy_0-1646193106443.png

 

 

 

---
If this reply helps you, an upvote/Karma would be appreciated.

View solution in original post

SanjayReddy
SplunkTrust
SplunkTrust

Hi @SplunkDash 

instaed of ... (ellipsis wildcard) , please use(*)asterisk wildcard for moniting the path 

[monitor:///RTAM/PROD_LOGS/PROD_DATA/*/AUDITDATA/APPS/AUDITPROD.txt]

 

SanjayReddy_0-1646193106443.png

 

 

 

---
If this reply helps you, an upvote/Karma would be appreciated.

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...