
Answer-first summary for fast verification
Answer: Export logs to a Pub/Sub topic and subscribe Splunk to this topic.
The correct approach is to export logs to a Pub/Sub topic and subscribe Splunk to this topic. This method is recommended for exporting logs to third-party applications with minimal operational overhead. Other options introduce unnecessary complexity or overhead, such as managing Cloud Functions or are not currently feasible. Refer to the Routing and Storage Overview for more details.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
You are tasked with designing the logging system for an application, with the requirement to send logs to the company's Splunk instance. How can you achieve this with minimal operational overhead?
A
Export logs directly to Splunk as the destination.
B
Export logs to a BigQuery dataset and use Cloud Functions to transfer them to Splunk.
C
Export logs to Cloud Storage buckets and utilize Cloud Functions for copying to Splunk.
D
Export logs to a Pub/Sub topic and subscribe Splunk to this topic.