<?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: Error 503 while collecting data in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343674#M41528</link>
    <description>&lt;P&gt;Can you also check _internal logs?&lt;/P&gt;</description>
    <pubDate>Mon, 12 Mar 2018 10:59:02 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2018-03-12T10:59:02Z</dc:date>
    <item>
      <title>Error 503 while collecting data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343673#M41527</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;We are trying to collect email informations in our Splunk platform. We use an office365 admin account but our index is not fed.&lt;BR /&gt;
This app looks simple to configure. By reading the documentation we saw that this add-on just join the office365 API&amp;nbsp;REST with this link :&amp;nbsp;&lt;A href="https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace" target="_blank"&gt;https://reports.office365.com/ecp/reportingwebservice/reporting.svc/MessageTrace&lt;/A&gt; that looks available.&lt;/P&gt;

&lt;P&gt;We got this error in /opt/splunk/var/log/splunk/ta_ms_o365_reporting_ms_o365_message_trace.log&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;2018-03-09 14:08:10,283 WARNING pid=7027 tid=MainThread file=utils.py:wrapper:157 | Run function: get failed: Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/utils.py", line 154, in wrapper&lt;BR /&gt;
    return func(*args, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/modular_input/checkpointer.py", line 219, in get&lt;BR /&gt;
    record = self._collection_data.query_by_id(key)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/packages/splunklib/client.py", line 3637, in query_by_id&lt;BR /&gt;
    return json.loads(self._get(UrlEncoded(str(id))).body.read())&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/packages/splunklib/client.py", line 3607, in _get&lt;BR /&gt;
    return self.service.get(self.path + url, owner=self.owner, app=self.app, sharing=self.sharing, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/packages/splunklib/binding.py", line 287, in wrapper&lt;BR /&gt;
    return request_fun(self, *args, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/packages/splunklib/binding.py", line 69, in new_f&lt;BR /&gt;
    val = f(*args, **kwargs)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/packages/splunklib/binding.py", line 665, in get&lt;BR /&gt;
    response = self.http.get(path, self._auth_headers, **query)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/packages/splunklib/binding.py", line 1160, in get&lt;BR /&gt;
    return self.request(url, { 'method': "GET", 'headers': headers })&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/packages/splunklib/binding.py", line 1221, in request&lt;BR /&gt;
    raise HTTPError(response)&lt;BR /&gt;
HTTPError: HTTP 503 Service Unavailable -- KV Store initialization failed. Please contact your system administrator.&lt;BR /&gt;
.&lt;BR /&gt;
2018-03-09 14:08:10,284 ERROR pid=7027 tid=MainThread file=base_modinput.py:log_error:307 | Get error when collecting events.&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/modinput_wrapper/base_modinput.py", line 127, in stream_events&lt;BR /&gt;
    self.collect_events(ew)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ms_o365_message_trace.py", line 72, in collect_events&lt;BR /&gt;
    input_module.collect_events(self, ew)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/input_module_ms_o365_message_trace.py", line 48, in collect_events&lt;BR /&gt;
    start_date = get_start_date(helper, check_point_key)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/input_module_ms_o365_message_trace.py", line 22, in get_start_date&lt;BR /&gt;
    d = helper.get_check_point(check_point_key)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/modinput_wrapper/base_modinput.py", line 519, in get_check_point&lt;BR /&gt;
    return self.ckpt.get(key)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-MS_O365_Reporting/bin/ta_ms_o365_reporting/solnlib/utils.py", line 167, in wrapper&lt;BR /&gt;
    raise last_ex&lt;BR /&gt;
HTTPError: HTTP 503 Service Unavailable -- KV Store initialization failed. Please contact your system administrator.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Does anyone have an idea about this issue?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:23:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343673#M41527</guid>
      <dc:creator>nessupport</dc:creator>
      <dc:date>2020-09-29T18:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error 503 while collecting data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343674#M41528</link>
      <description>&lt;P&gt;Can you also check _internal logs?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 10:59:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343674#M41528</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-03-12T10:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error 503 while collecting data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343675#M41529</link>
      <description>&lt;P&gt;Hi, _internal give almost the same informations.&lt;/P&gt;

&lt;P&gt;Anyway, we saw that our KVstore service wasn't configured properly. We fixed it and that resolved the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 11:04:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343675#M41529</guid>
      <dc:creator>nessupport</dc:creator>
      <dc:date>2018-03-21T11:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error 503 while collecting data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343676#M41530</link>
      <description>&lt;P&gt;We saw that our KVstore service wasn't configured properly. We fixed it and that resolved the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 11:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343676#M41530</guid>
      <dc:creator>nessupport</dc:creator>
      <dc:date>2018-03-21T11:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error 503 while collecting data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343677#M41531</link>
      <description>&lt;P&gt;@nessupport If your problem is resolved, please accept the answer to help future readers.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2018 12:44:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Error-503-while-collecting-data/m-p/343677#M41531</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-03-21T12:44:29Z</dc:date>
    </item>
  </channel>
</rss>

