<?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 Splunk Add-on for Microsoft Office 365 hangs randomly in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Office-365-hangs-randomly/m-p/419450#M51135</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;plugin is configured to get Office 365 audit logs (Exchange, Sharepoint, Teams, etc.).&lt;BR /&gt;
The problem is that from time to time it's just stops ingesting some of inputs.&lt;BR /&gt;
If then input is manually disabled and enabled from a GUI, ingesting is working again.&lt;/P&gt;

&lt;P&gt;Internal log shows no errors, just standard messages like: ..success, ..found, ..available content.&lt;BR /&gt;
Then after a gap there is a message: Loop has been aborted (which is probably according to disabling/enabling input). After that there are standard messages again.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Has anybody had similar problem with this plugin and what could be a solution?&lt;/LI&gt;
&lt;LI&gt;Would you suggest using another app: Splunk Add-on for Microsoft Cloud Services (&lt;A href="https://splunkbase.splunk.com/app/3110/#/overview"&gt;https://splunkbase.splunk.com/app/3110/#/overview&lt;/A&gt;) ?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Wojtek&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2019 12:10:04 GMT</pubDate>
    <dc:creator>wojtek25</dc:creator>
    <dc:date>2019-04-18T12:10:04Z</dc:date>
    <item>
      <title>Splunk Add-on for Microsoft Office 365 hangs randomly</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Office-365-hangs-randomly/m-p/419450#M51135</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;plugin is configured to get Office 365 audit logs (Exchange, Sharepoint, Teams, etc.).&lt;BR /&gt;
The problem is that from time to time it's just stops ingesting some of inputs.&lt;BR /&gt;
If then input is manually disabled and enabled from a GUI, ingesting is working again.&lt;/P&gt;

&lt;P&gt;Internal log shows no errors, just standard messages like: ..success, ..found, ..available content.&lt;BR /&gt;
Then after a gap there is a message: Loop has been aborted (which is probably according to disabling/enabling input). After that there are standard messages again.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Has anybody had similar problem with this plugin and what could be a solution?&lt;/LI&gt;
&lt;LI&gt;Would you suggest using another app: Splunk Add-on for Microsoft Cloud Services (&lt;A href="https://splunkbase.splunk.com/app/3110/#/overview"&gt;https://splunkbase.splunk.com/app/3110/#/overview&lt;/A&gt;) ?&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Wojtek&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 12:10:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Office-365-hangs-randomly/m-p/419450#M51135</guid>
      <dc:creator>wojtek25</dc:creator>
      <dc:date>2019-04-18T12:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft Office 365 hangs randomly</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Office-365-hangs-randomly/m-p/419451#M51136</link>
      <description>&lt;P&gt;I am having this issue as well and have been for a while.  I had a cron job running that disabled and reenabled the ingesting every night, but it seems to be failing several times a a day now.&lt;/P&gt;

&lt;P&gt;Same symptoms.  Suddenly I will show no input, nothing in the logs of why it stopped.  If I disable/enable from the GUI eveything starts flowing again.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2019 17:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Office-365-hangs-randomly/m-p/419451#M51136</guid>
      <dc:creator>crisponions2</dc:creator>
      <dc:date>2019-05-24T17:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Add-on for Microsoft Office 365 hangs randomly</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Office-365-hangs-randomly/m-p/419452#M51137</link>
      <description>&lt;P&gt;Here are the changes to the scripts that fix that problem:&lt;/P&gt;

&lt;P&gt;In lines 166 to 168 in file splunk_ta_o365/bin/splunk_ta_o365/common/portal.py, add timeout at line 167 like this:&lt;/P&gt;

&lt;P&gt;logger.debug(‘Calling management activity API.’, url=url, params=params)&lt;BR /&gt;
response = session.request(method, url, params=params, timeout=60)&lt;BR /&gt;
status_code = response.status_code&lt;/P&gt;

&lt;P&gt;In lines from 117 - 119 in file splunk_ta_o365/bin/splunk_ta_o365/modinputs/management_activity.py, change the lines 117 and 119 like this:&lt;/P&gt;

&lt;P&gt;now = self._now() // 86400 * 86400 + 86400&lt;BR /&gt;
end_time = datetime.utcfromtimestamp(now)&lt;BR /&gt;
start_time = end_time - timedelta(days=7)&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Wojtek&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:40:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Splunk-Add-on-for-Microsoft-Office-365-hangs-randomly/m-p/419452#M51137</guid>
      <dc:creator>wojtek25</dc:creator>
      <dc:date>2020-09-30T00:40:33Z</dc:date>
    </item>
  </channel>
</rss>

