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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...