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
Legend

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
Legend

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
Legend

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
Legend

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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...