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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...