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!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...