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
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...