All Apps and Add-ons

check website up or down?

dhirendra761
Contributor

Hi Splunkers!.

Is it possible to get the http responce code from website in splunk query.
example:
I need to get 200 or 503 or 404 or 500(depends on the responce codes), if I hit url: https://12.129.252.322/XYYY/ZR/PHJET/ in browser.
It can be solved by "Website Monitoring App" or any other app, but I dont want to use.
Thanks in advance.

0 Karma
1 Solution

adonio
Ultra Champion

jkat54
SplunkTrust
SplunkTrust

Will this app work? It has a curl SPL command that tells you status and response time when using debug=true with the curl command.

https://splunkbase.splunk.com/app/4146/

See the curl examples on the details page.

adonio
Ultra Champion

try the webiste monitoring app
https://splunkbase.splunk.com/app/1493/

dhirendra761
Contributor

@adonio thanks for answer but actually I don't want to use this app, as Already said. Do we have another approach?

0 Karma

adonio
Ultra Champion

i am not sure what you are asking, a splunk query is logic requesting data that is in splunk. if you have data regarding the website, either from the app or IIS logs or any web application log, you can write a query that finds the status of a website, or a page, or anything for that matter ...
why dont you want to use the app?

0 Karma

dhirendra761
Contributor

Hi @adonio the problem of using this app is I need to integrate this external app in my app-package and I don't know how to do it.
We can not install this external app in splunk enterprise instance. I need to include it my app- package.

Thanks.

0 Karma

dhirendra761
Contributor

Hi, @adonio Thanks for the answer. Good News is that Now I am able to incorporate "website Monitoring app" in my native app without installing it in Splunk instances.
I am able to use same setting as WM app uses. Accepting your answer.

Thanks for your time and support.

Happy Splunking!!.. 🙂

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...