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
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...