All Apps and Add-ons

check website up or down?

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

SplunkTrust
SplunkTrust

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.

SplunkTrust
SplunkTrust

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

SplunkTrust
SplunkTrust

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

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

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