Splunk Search

Object Name filtering with Diffrent folder structrue

shishirkumar
Engager

we have one Network folder : clientreports

Standard Reports Structure as :
• Path/Foldername/Report Type/Client/Report Period Folders/Files.
Ex: R:/Clientfolder/Coaching Dashboard/ BCBS AZ/YYYY_MM/PDF, Excel.

This is Report Type : I used Rex functionn to read and extract Report Type from Object_Name.
alt text

having 27 standard reports folder structure ,

1) MonthlyActivityReport.
2) MonthlyActivityReportDashboard
3) CoachingDemographicReport(vc,lc,wt)
4) CoachingDemographicReport_LC
5) CoachingDemographicReport_VC
6) CoachingDemographicReport_WT

7) QuarterlyProgressReport

--
27) bla bal bla

1st Question is how to Extarct only these 27 folder structure in Splunk Because of in Object name we have different different folder structure
some example as :

1) Report Type/Report Category/ Files -

EX: iHealth_OpenCaseReport/Datafiles,logfiles/Text Files,Excel file.
2) ReportType/Report Period Folder/ Files -
Ex: NICU_Outcomes/2015,2016/PDF Files or Excel Files.
3) Report Type/Client/Report Period Folders/Files.
Ex: aternityOutcomes/ BCBS AZ/2014_12,2015_12/PDF Files.

How

Tags (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Self-Healing Pipeline Is Now Generally Available: AI-Powered CIM Compliance

Maintaining data integrity across security and analytics pipelines is an ongoing challenge. Data ...

[Puzzles] Solve, Learn, Repeat: Family Trees

This puzzle (first published here is based on finding grandparents and grandchildren (inspired by a question ...