Splunk IT Service Intelligence

Search query to fetch PCF application instances and its event messages such as start, stop and crash and with the reason

Abhigyan_2907
New Member

Hi ,

I want Search query to fetch PCF application instances and its event messages such as start, stop and crash and with the reason. Can anyone help me with the query how to fetch this.

Thanks,

Abhigyan.

Labels (1)
0 Karma

renjith_nair
Legend

@Abhigyan_2907 ,

Assuming that by PCF , you meant Pivotal Cloud Foundry 

Without looking at the sample logs, it's difficult to formulate a search to get the logs. 

There are different log types for applications and based on your requirement , you could search the respective types. 

Have a look at this https://docs.cloudfoundry.org/devguide/deploy-apps/streaming-logs.html 

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Which index and sourcetype have the events been ingested into?

0 Karma

Abhigyan_2907
New Member

I know the index and sourcetype and pcf instances are coming but what to query to fetch each instances event like stating stopped running crashed with the. Timestamp

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...