Skip to content

Configure Cloud Storage Bucket inputs for Splunk Add-on for Google Cloud Platform

Configure Cloud Storage Bucket inputs for Splunk Add-on for Google Cloud Platform using Splunk Web or via configuration file, using the information in the inputs parameters table below.

Configure Cloud Storage Bucket inputs using the Splunk Web

  1. Click Create New Input in the Inputs tab, and then choose Cloud Storage Bucket > Cloud Storage Bucket.
  2. Enter the Name, Credentials, Project, Bucket, Interval, Number of Threads and Index, using the information in the inputs parameter table.
  3. Save your changes.

Do not go to the Splunk Add-on for Google Cloud Platform configuration page under Settings > Data Inputs to configure Google Cloud Platform inputs. This page is not supported for this type of input.

Configure Cloud Storage Bucket inputs using configuration file

Follow these steps to configure Cloud Storage Bucket inputs.

  1. In your Splunk platform deployment, navigate to $SPLUNK_HOME/etc/apps/Splunk_TA_google-cloudplatform/local.
  2. Create a file named inputs.conf, if it does not already exist.
  3. Add the following stanza for Cloud Storage Bucket input:

    [google_cloud_bucket_metadata://<input_stanza_name>]
    bucket_name = <value>
    conf_version = v1
    google_credentials_name = <value>
    google_project = <value>
    index = <value>
    interval = <value>
    number_of_threads = <value>
    

Restart your Splunk platform after making changes to configuration (.conf) files.

Input Parameters

Each attribute in the following table corresponds to a field in Splunk Web.

Attribute Corresponding field in Splunk Web Description
name Name Enter a unique name of the Google Cloud Storage Bucket input.
bucket_name Bucket Google Bucket Name
google_credentials_name Credentials The stanza name defined in google_cloud_credentials.conf
google_project Project Google Project ID
index Index The index in which to store Google Cloud Storage Bucket.
interval Interval Data collection interval in seconds. The default is 3600 seconds.

Advanced settings

Attribute Corresponding field in Splunk Web Description
number_of_threads Number of Threads Specify the count to determine the number of concurrent file downloads to be ingested into Splunk.