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!

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...