Project

General

Profile

Cloud Support » History » Version 2

Luke Murphey, 06/02/2022 02:44 PM

1 1 Luke Murphey
h1. Cloud Support
2 1 Luke Murphey
3 1 Luke Murphey
Website Monitoring will not allow users on Splunk Cloud to create inputs that are not using SSL (they are restricted to monitoring HTTPS). This is enforced in the backend code in the modular input (https://github.com/LukeMurphey/splunk-website-monitoring/blob/master/src/bin/web_ping.py) which will reject attempts to make an input that uses HTTP on Splunk Cloud and will refuse to run inputs on Cloud (in case the user crated an input manually via inputs.conf).
4 1 Luke Murphey
5 2 Luke Murphey
See the following line shows that the URL field is set to require HTTPS if on cloud:
6 2 Luke Murphey
7 2 Luke Murphey
<pre><code class="python">
8 2 Luke Murphey
URLField("url", "URL", "The URL to connect to (must be be either HTTP or HTTPS protocol)", empty_allowed=False, require_https_on_cloud=True),
9 2 Luke Murphey
</code></pre>
10 2 Luke Murphey
11 2 Luke Murphey
12 1 Luke Murphey
If someone wants to monitor an HTTP site, they need to run a forwarder outside of Splunk's Cloud environment.