Splunk ITSI

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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...