Forum Discussion

João Henrique Mortati Fuzinelli's avatar
Oct 10, 2017
Solved

Log analytics results is late for South Brazil

I'm trying to use OMS alerts for heartbeat of my servers. On the old Log analytics, i readed an article saying thats the agent reports each 60 seconds for the OMS and the results of the queries is no...
  • Stanislav_Zhelyazkov's avatar
    Stanislav_Zhelyazkov
    Oct 11, 2017

    Hi

    If you are quering this way

     

    Heartbeat

    You will get inconsistant alerts. With the new query langauge you have to specify the sorting. In the old one sorting was always done on TimeGenerated if not specified. So you have to do query like this to get the latest data

     

    Heartbeat | sort by TimeGenerated desc

    Otherwise there is no change on how logs are ingested into Log Analytics.