Splunk Search

query reg directory files monitoring

pench2k19
Explorer

Hi team,

I have some directory paths as below

path arrival_time
home*/vivek/file1.txt* 12:30:00 05-05-2019
home*/pench/file2.txt* 01:00:00 05-05-2019

i just want to read the highlighted values from path field and the arrival_time details from the data not the content of the files through Splunk.

Can you please let me know how can i achieve this.

Tags (1)
0 Karma

jkat54
SplunkTrust
SplunkTrust
 ([\w|\d]+\/[\w|\d]+\.[\w|\d]+)
0 Karma

pench2k19
Explorer

adding the sample data to avoid confusion

path arrival_time
home/vivek/file1.txt 12:30:00 05-05-2019
home/pench/file2.txt 01:00:00 05-05-2019

0 Karma

pench2k19
Explorer

@jkat54 @vnravikumar @woodxo any solution to this?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...