Getting Data In

Splunk add-on for Google Cloud Platform How to add logs/new Input to have Kubernetes Pod Status?

Cheng2Ready
Communicator

Splunk add-on for Google Cloud Platform How to add logs/new Input to have Kubernetes Pod Status?

Cheng2Ready_2-1725915244033.png

 


What are the steps?
How to add new Input to have Kubernetes Pod Status(highlight below GCP picture of Pods) into Splunk?

Cheng2Ready_0-1725914976656.png

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

Splunk-build Add-ons usually have pretty decent docs. Did you read this one?

https://splunk.github.io/splunk-add-on-for-google-cloud-platform/

0 Karma

Cheng2Ready
Communicator

@PickleRick Thank you for the prompt response.

I still don't see how I can get the Status in GCP for the Kubernetes pods?

Cheng2Ready_0-1726093748362.png

 

0 Karma

Cheng2Ready
Communicator

Hi @PickleRick I don't see anyAPI GET that shows Pod or Status any help/ guidance would be appreciated.

Cheng2Ready_0-1726179238753.png

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

If there is no such input to choose from it might indeed be the case that there is no direct possibility to capture pods status. Which wouldn't be that surprising since Splunk typically deals with logs and logs usually contain transitions between states, not states themselves.

You could probably write your own scrpited input to periodically call proper API endpoint to capture those states and ingest it into Splunk but that requires some development on your side.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...