Getting Data In

GCS input with Google Cloud App

devopsbrightins
Engager

Hey there!

We're using Google Cloud App to inject logs sent to GCS by Stackdriver.

Stackdriver produces logs in GCS in JSON format with multiple events per file, newline separated. Each resulting json can be up to 200MB in size making Splunk input to choke on data.

Example (truncated for brevity):

gs://mybucket/stackdriver-logs/20210309.json:

{"insertId":"c4fc7617-638d-4553-a7c1-861b44b06299","labels":"blah"}
{"insertId":"6c386a11-ebed-42e0-9ceb-6db36c8ea40e","labels":{"blah blah"}

Can we configure Cloud App plugin or Splunk to  split each json document from file into its own event?

Labels (1)
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...