title: Azure monitor application start /stop timings
body: <p>I have a spring boot application is deployed to Azure Kubernetes. Currently, I have enabled HeartBeatState telemetry and by having the start azure spring boot dependency, I get HTTP requests telemetry info.</p>
  <p>I am not sending any custom telemetry to track application start or stop events. for example I am not doing anything like:</p>
  <p><code>telemetryClient.trackEvent(&quot;Start_Up&quot;, properties, null);</code></p>
  <p><code>telemetryClient.trackEvent(&quot;ShutDown&quot;, properties, null);</code></p>
  <p>I have a requirement to trace when my application came up and went down. I was wondering if there is any way I can write a query in Log Analytics in Application Insight to extract this info? My pod has label which consists of the application name which perhaps I can use in the query filter but I am not sure if there is a <code>Kusto</code> query that can extract the application start and stop timings out for me.</p>