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
*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!

Review:





Or Learn More in Our Blog >>