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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...