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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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