<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS) in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501261#M74589</link>
    <description>&lt;P&gt;did the change looks like events are appearing now. will monitor .&lt;BR /&gt;
Thanks for quick response and suggestions &lt;/P&gt;</description>
    <pubDate>Sun, 23 Feb 2020 09:41:35 GMT</pubDate>
    <dc:creator>anwar114</dc:creator>
    <dc:date>2020-02-23T09:41:35Z</dc:date>
    <item>
      <title>intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501253#M74581</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS) .&lt;BR /&gt;
can not find any err or warn in the internal logs.&lt;BR /&gt;
When tried to pull with larger Event Delay / Lag Time  it pulled all the events.&lt;BR /&gt;
so its working but when changed to 15 min it again has this intermittent event loss.&lt;BR /&gt;
interval : 60&lt;/P&gt;

&lt;P&gt;Also is there a plan for python 3 support , eventually splunk 8 would go for python 3.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 06:42:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501253#M74581</guid>
      <dc:creator>anwar114</dc:creator>
      <dc:date>2020-02-05T06:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501254#M74582</link>
      <description>&lt;P&gt;appreciate if @jkat54 have a look.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 05:12:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501254#M74582</guid>
      <dc:creator>anwar114</dc:creator>
      <dc:date>2020-02-06T05:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501255#M74583</link>
      <description>&lt;P&gt;When a Log Analytics input runs, it will pull data from the Log Analytics API.  To pull the data, we must specify two timestamps to search between for events. Therefore the data pull requires a start_date and end_date.  All timestamps used are specified in UTC.&lt;/P&gt;

&lt;P&gt;IMPORTANT: Due to lag in writing events to Log Analytics (explained here: &lt;A href="https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-ingestion-time" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-ingestion-time&lt;/A&gt;), we would have missing data if we always pulled the latest X minutes of data from the API. Therefore this app was developed with a setting called "event_lag".  &lt;/P&gt;

&lt;P&gt;Event_lag is in seconds and the value is used to force the API query to be set back in time by the amount of seconds that are specified.  That is to say, if you set an event_lag of 60 seconds, the input will always look for data that is at least 60 seconds old.  In other words, we subtract event_lag from the end_date used in the query in order to offset the data collection by the amount of event_lag specified.  It's also important to note that event_lag is never subtracted from the start_date&lt;/P&gt;

&lt;P&gt;The next time/date field to consider is the interval of the collection.  If you have an event_lag of 30 minutes and interval of 1 minute, you will duplicate 29 minutes of data every execution.  It is therefore recommended that your event_lag equals your interval OR if you're highly suspicious of possible data loss, you might prefer to have some duplication in favor of the possibility of missing events due to the Log Analytics event lag described here (&lt;A href="https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-ingestion-time" target="_blank"&gt;https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-ingestion-time&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;The final time/date field to consider is the checkpoint.  The checkpoint timestamp is also in UTC, and it is equal the latest end_date sent to the API.&lt;/P&gt;

&lt;P&gt;You can think of these timestamps as described below:&lt;/P&gt;

&lt;P&gt;start_date = earliest time to pull data from the log analytics API  (aka start time/date)&lt;BR /&gt;
end_date = Time of execution MINUS the lag time specified (with microseconds removed)&lt;BR /&gt;
event_lag = Amount of time in seconds to always subtract from end_date before submiting the query to the API&lt;BR /&gt;
interval = How ofen the input tries to pull data&lt;BR /&gt;
checkpoint = after successfully completing 1 run, will be set to the latest end_date used by the input, and will be used next run as the start_date&lt;/P&gt;

&lt;P&gt;Considering the above, the following logic is true of every execution for each input you've defined:&lt;/P&gt;

&lt;P&gt;If, the input has not run at least one time before:&lt;/P&gt;

&lt;P&gt;checkpoint will be empty at begining of the first time run&lt;BR /&gt;
start_date will be equal to the start_date specified on the input&lt;/P&gt;

&lt;P&gt;-OR- if start_date is not specified on the input, will default to Jan 1st 1970&lt;/P&gt;

&lt;P&gt;end_date will be equal to the current time in UTC minus the event_lag&lt;BR /&gt;
event_lag &amp;amp; interval will be what you set on the input&lt;/P&gt;

&lt;P&gt;Else if, the input has run at least one time before:&lt;/P&gt;

&lt;P&gt;checkpoint will be equal to end_date from the previous run.&lt;BR /&gt;
start_date will be equal to the checkpoint, which should be equal to (UTC timestamp of last run minus the event_lag)&lt;/P&gt;

&lt;P&gt;-OR- if kvstore has failed -OR- if the checkpoint has been removed from kvstore:&lt;/P&gt;

&lt;P&gt;start_date will be equal to the start_date specified on the input&lt;/P&gt;

&lt;P&gt;-OR- if start_date is not specified on the input,&lt;/P&gt;

&lt;P&gt;start_date will default to Jan 1st 1970&lt;/P&gt;

&lt;P&gt;end_date will be equal to the current time in UTC minus the event_lag&lt;BR /&gt;
event_lag &amp;amp; interval will be what you set on the input&lt;/P&gt;

&lt;P&gt;Finally, when the code executes it pulls the data from start_date to end_date.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:07:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501255#M74583</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-09-30T04:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501256#M74584</link>
      <description>&lt;P&gt;Its bit strange behaviour. When i disable and enable the input , it pulls all the events from the eventhub. all works well. &lt;BR /&gt;
thereafter for regular interval pulls it skips some events and pulls some (cannot figure out whats going wrong for certain events to be skipped and certain pulled during regular pulls.)&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2020 10:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501256#M74584</guid>
      <dc:creator>anwar114</dc:creator>
      <dc:date>2020-02-09T10:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501257#M74585</link>
      <description>&lt;P&gt;The log analytics app doesn't pull data from event hubs.  It pulls from the log analytics API.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2020 11:44:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501257#M74585</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-02-09T11:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501258#M74586</link>
      <description>&lt;P&gt;Event lag and interval should be the same in most cases unless youd rather have the possibility  to duplicate data vs possibly missing data&lt;/P&gt;

&lt;P&gt;In which case your interval should be less than your lag.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Feb 2020 11:47:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501258#M74586</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-02-09T11:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501259#M74587</link>
      <description>&lt;P&gt;This is my settings now:&lt;BR /&gt;
interval : 840 (14min)&lt;BR /&gt;
lag time : 15&lt;/P&gt;

&lt;P&gt;My initial was as below which was working till 2 weeks before, then i changed to above both are not working. &lt;BR /&gt;
interval : 60&lt;BR /&gt;
lag time : 15&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 05:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501259#M74587</guid>
      <dc:creator>anwar114</dc:creator>
      <dc:date>2020-02-10T05:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501260#M74588</link>
      <description>&lt;P&gt;Try interval 15minutes lag 30 minutes.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2020 06:32:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501260#M74588</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-02-10T06:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: intermittent events missing when pulling through Microsoft Log Analytics Add-on (Formerly Known as OMS)</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501261#M74589</link>
      <description>&lt;P&gt;did the change looks like events are appearing now. will monitor .&lt;BR /&gt;
Thanks for quick response and suggestions &lt;/P&gt;</description>
      <pubDate>Sun, 23 Feb 2020 09:41:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/intermittent-events-missing-when-pulling-through-Microsoft-Log/m-p/501261#M74589</guid>
      <dc:creator>anwar114</dc:creator>
      <dc:date>2020-02-23T09:41:35Z</dc:date>
    </item>
  </channel>
</rss>

