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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...