<?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 okta logs into splunk, error 309 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/okta-logs-into-splunk-error-309/m-p/579405#M102289</link>
    <description>&lt;P&gt;I configured the okta identity cloud for splunk App to ingest okta logs into splunk but getting the error message below:&lt;/P&gt;&lt;P&gt;2021-12-21 16:34:35,586 ERROR pid=1375 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events.&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/modular_input/checkpointer.py", line 218, in get&lt;BR /&gt;record = self._collection_data.query_by_id(key)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/client.py", line 3648, in query_by_id&lt;BR /&gt;return json.loads(self._get(UrlEncoded(str(id))).body.read().decode('utf-8'))&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/client.py", line 3618, 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-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 289, in wrapper&lt;BR /&gt;return request_fun(self, *args, **kwargs)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 71, in new_f&lt;BR /&gt;val = f(*args, **kwargs)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 679, in get&lt;BR /&gt;response = self.http.get(path, all_headers, **query)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 1183, in get&lt;BR /&gt;return self.request(url, { 'method': "GET", 'headers': headers })&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 1244, in request&lt;BR /&gt;raise HTTPError(response)&lt;BR /&gt;solnlib.packages.splunklib.binding.HTTPError: HTTP 503 Service Unavailable -- KV Store is initializing. Please try again later.&lt;BR /&gt;During handling of the above exception, another exception occurred:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events&lt;BR /&gt;self.collect_events(ew)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/okta_identity_cloud.py", line 68, in collect_events&lt;BR /&gt;input_module.collect_events(self, ew)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/input_module_okta_identity_cloud.py", line 774, in collect_events&lt;BR /&gt;lastTs = helper.get_check_point((cp_prefix + ":" + opt_metric + ":lastRun"))&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/modinput_wrapper/base_modinput.py", line 521, in get_check_point&lt;BR /&gt;return self.ckpt.get(key)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/utils.py", line 159, in wrapper&lt;BR /&gt;return func(*args, **kwargs)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/modular_input/checkpointer.py", line 222, in get&lt;BR /&gt;'Get checkpoint failed: %s.', traceback.format_exc(e))&lt;BR /&gt;File "/opt/splunk/lib/python3.7/traceback.py", line 167, in format_exc&lt;BR /&gt;return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))&lt;BR /&gt;File "/opt/splunk/lib/python3.7/traceback.py", line 121, in format_exception&lt;BR /&gt;type(value), value, tb, limit=limit).format(chain=chain))&lt;BR /&gt;File "/opt/splunk/lib/python3.7/traceback.py", line 508, in __init__&lt;BR /&gt;capture_locals=capture_locals)&lt;BR /&gt;File "/opt/splunk/lib/python3.7/traceback.py", line 337, in extract&lt;BR /&gt;if limit &amp;gt;= 0:&lt;BR /&gt;TypeError: '&amp;gt;=' not supported between instances of 'HTTPError' and 'int'&lt;/P&gt;</description>
    <pubDate>Tue, 28 Dec 2021 17:48:13 GMT</pubDate>
    <dc:creator>mayson</dc:creator>
    <dc:date>2021-12-28T17:48:13Z</dc:date>
    <item>
      <title>okta logs into splunk, error 309</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/okta-logs-into-splunk-error-309/m-p/579405#M102289</link>
      <description>&lt;P&gt;I configured the okta identity cloud for splunk App to ingest okta logs into splunk but getting the error message below:&lt;/P&gt;&lt;P&gt;2021-12-21 16:34:35,586 ERROR pid=1375 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events.&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/modular_input/checkpointer.py", line 218, in get&lt;BR /&gt;record = self._collection_data.query_by_id(key)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/client.py", line 3648, in query_by_id&lt;BR /&gt;return json.loads(self._get(UrlEncoded(str(id))).body.read().decode('utf-8'))&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/client.py", line 3618, 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-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 289, in wrapper&lt;BR /&gt;return request_fun(self, *args, **kwargs)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 71, in new_f&lt;BR /&gt;val = f(*args, **kwargs)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 679, in get&lt;BR /&gt;response = self.http.get(path, all_headers, **query)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 1183, in get&lt;BR /&gt;return self.request(url, { 'method': "GET", 'headers': headers })&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/packages/splunklib/binding.py", line 1244, in request&lt;BR /&gt;raise HTTPError(response)&lt;BR /&gt;solnlib.packages.splunklib.binding.HTTPError: HTTP 503 Service Unavailable -- KV Store is initializing. Please try again later.&lt;BR /&gt;During handling of the above exception, another exception occurred:&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events&lt;BR /&gt;self.collect_events(ew)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/okta_identity_cloud.py", line 68, in collect_events&lt;BR /&gt;input_module.collect_events(self, ew)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/input_module_okta_identity_cloud.py", line 774, in collect_events&lt;BR /&gt;lastTs = helper.get_check_point((cp_prefix + ":" + opt_metric + ":lastRun"))&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/modinput_wrapper/base_modinput.py", line 521, in get_check_point&lt;BR /&gt;return self.ckpt.get(key)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/utils.py", line 159, in wrapper&lt;BR /&gt;return func(*args, **kwargs)&lt;BR /&gt;File "/opt/splunk/etc/apps/TA-Okta_Identity_Cloud_for_Splunk/bin/ta_okta_identity_cloud_for_splunk/aob_py3/solnlib/modular_input/checkpointer.py", line 222, in get&lt;BR /&gt;'Get checkpoint failed: %s.', traceback.format_exc(e))&lt;BR /&gt;File "/opt/splunk/lib/python3.7/traceback.py", line 167, in format_exc&lt;BR /&gt;return "".join(format_exception(*sys.exc_info(), limit=limit, chain=chain))&lt;BR /&gt;File "/opt/splunk/lib/python3.7/traceback.py", line 121, in format_exception&lt;BR /&gt;type(value), value, tb, limit=limit).format(chain=chain))&lt;BR /&gt;File "/opt/splunk/lib/python3.7/traceback.py", line 508, in __init__&lt;BR /&gt;capture_locals=capture_locals)&lt;BR /&gt;File "/opt/splunk/lib/python3.7/traceback.py", line 337, in extract&lt;BR /&gt;if limit &amp;gt;= 0:&lt;BR /&gt;TypeError: '&amp;gt;=' not supported between instances of 'HTTPError' and 'int'&lt;/P&gt;</description>
      <pubDate>Tue, 28 Dec 2021 17:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/okta-logs-into-splunk-error-309/m-p/579405#M102289</guid>
      <dc:creator>mayson</dc:creator>
      <dc:date>2021-12-28T17:48:13Z</dc:date>
    </item>
  </channel>
</rss>

