Getting Data In

Monitor My application

yadvendra
New Member

Hello There,

I wanted to monitor few parameters related to my application.

  1. Number of files in a specific directory,
  2. Monitor the application processes
  3. Monitor the size of application mount point.

I am totally new to Splunk and trying to understand it since last few days. so kindly mention the each steps which need to be followed to write an application on it. and how much time it may take to do this particular task.

Thanks a lot in advance!
Regards,
Yadvendra

Tags (1)
0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi yadvendra,

Splunk's main task is to read human readable logs like event logs, web logs, live application logs, network feeds. In addition to that you can create your own scripts which checks what ever you want and output's the result into Splunk. See Scripted Inputs Intro for more details.

hope this helps to get you started ...

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi yadvendra,

Splunk's main task is to read human readable logs like event logs, web logs, live application logs, network feeds. In addition to that you can create your own scripts which checks what ever you want and output's the result into Splunk. See Scripted Inputs Intro for more details.

hope this helps to get you started ...

cheers, MuS

MuS
SplunkTrust
SplunkTrust

Hi yadvendra, sorry but I cannot help you further in this matter. You will have to do a lot of reading in the docs and setup your Splunk according to your needs. Just don't give up on this - everyone was a newby sometimes 😉

0 Karma

yadvendra
New Member

Thanks a lot for your quick answer.

I have few more queries:
Kindly consider I have never written any program and never setup splunk earlier, so each basic step to setup this will be highly appreciated.

Application:
Monitor a directory for number of files in it and display it in splunk dashboard over a period of time.

Script could be: this will give the number of files in a path.

ls /path |wc -l

Now how this script could be utilized to display number of files in the directory over a period of time.

0 Karma

MuS
SplunkTrust
SplunkTrust

Just an update on this; check this app https://splunkbase.splunk.com/app/2776/ which can monitor directories or file information.

cheers, MuS

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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

Data Management Digest – May 2026

Welcome to the May 2026 edition of Data Management Digest!   As your trusted partner in data innovation, the ...