Configure cloudgateway.conf
To modify the Splunk Cloud Gateway configuration, create a cloudgateway.conf
file in $SPLUNK_HOME/etc/apps/splunk_app_cloudgateway/local
.
Here's a sample cloudgateway.conf file:
# sample cloudgateway.conf for configuration of Splunk Cloud Gateway App # file should be located in $SPLUNK_HOME/etc/apps/splunk_app_cloudgateway/local [setup] # Set address of the Cloud Gateway service. By default it is set to prod.spacebridge.spl.mobi spacebridge_server=prod.spacebridge.spl.mobi # This controls the log_level for application logs, by default this is set to INFO # If you need more detailed logs set to DEBUG log_level = INFO # This setting controls the interval in which the Search Head will query if it is the Captain in a SHC # The Splunk Cloud Gateway App currently processes all requests through the Captain in a SHC cluster_monitor_interval = 60 [websocket] # When a websocket disconnects reconnection code retries with expential back-off to a maximum value # The reconnect_max_delay is the maximum reconnection delay in seconds, default is 60s reconnect_max_delay = 60 [subscription] # The subscription_manager_modular_input will run for a period defined by the manager_lifetime_seconds configuration before restarting the process # The default lifetime is 3600s manager_lifetime_seconds = 3600 # The subscription_manager_modular_input will poll new subscription requests from clients at an interval defined by the manage_interval_seconds # The default interval is 0.1s. If the Search Head instance is not performant this may be an option to reduce API calls to the host. manager_interval_seconds = 0.1 # [dashboard] # The dashboard_list_max_count setting will limit the number of dashboards returned in the dashboard list API # If the dashboard list is timing out on clients this a helpful setting to limit the returned dashboards # This is primarily a setting you would set while debugging an issue # dashboard_list_max_count = 100
PREVIOUS Configure Splunk Cloud Gateway and dashboard permissions |
NEXT Troubleshoot Splunk Cloud Gateway |
This documentation applies to the following versions of Splunk® Cloud Gateway (Legacy): 1.1.0, 1.2.0, 1.2.2, 1.2.3, 1.3.0, 1.3.1
Feedback submitted, thanks!