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
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!