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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

It’s go time — Boston, here we come!

Are you ready to take your Splunk skills to the next level? Get set, because Splunk University is back, and ...

Performance Tuning the Platform, SPL2 Templates, and More New Articles on Splunk ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...