Getting Data In

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

Cheng2Ready
Path Finder

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
Path Finder

@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
Path Finder

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!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...