<?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 How to connect Splunk API with Trend Micro Apex One aaS? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-connect-Splunk-API-with-Trend-Micro-Apex-One-aaS/m-p/574715#M101577</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I try onboarding several Trend Micro Cloud Applications like Apex One as a Service but it just doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the Apex One Cloud Platform I can get the URL, Application ID and API Key necessary to connect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avoelk_0-1636707735669.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16837i8680B729020A920C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avoelk_0-1636707735669.png" alt="avoelk_0-1636707735669.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but it doesn't seem to work. I get the following errors in the apex_one_as_a_service_api.log :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2021-11-12 09:56:08,859 DEBUG pid=105063 tid=MainThread file=connectionpool.py:_make_request:437 | &lt;A href="https://xj7qb2.manage.trendmicro.com:443" target="_blank" rel="noopener"&gt;https://xj7qb2.manage.trendmicro.com:443&lt;/A&gt; "GET /WebApp/api/v1/Logs/officescan_virus?output_format=CEF&amp;amp;page_token=0&amp;amp;since_time=1636707248 HTTP/1.1" 404 1245 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2021-11-12 10:00:08,804 ERROR pid=122037 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events. Traceback (most recent call last): File "/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/apex_one_as_a_service/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events self.collect_events(ew) File "/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/apex_one_as_a_service_api.py", line 64, in collect_events input_module.collect_events(self, ew) File "/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/input_module_apex_one_as_a_service_api.py", line 91, in collect_events r_json = response.json() File "/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/apex_one_as_a_service/aob_py3/requests/models.py", line 897, in json return complexjson.loads(self.text, **kwargs) File "/opt/splunk/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/opt/splunk/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/opt/splunk/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;splunkd.log itself says the same:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;11-12-2021 &lt;SPAN class=""&gt;10:02:08.931 +&lt;SPAN class=""&gt;0100 &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ERROR &lt;SPAN class=""&gt;ExecProcessor &lt;SPAN class=""&gt;- &lt;SPAN class=""&gt;message &lt;SPAN class=""&gt;from "&lt;SPAN class=""&gt;/opt/splunk/bin/python3.7 &lt;SPAN class=""&gt;/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/apex_one_as_a_service_api.py" &lt;SPAN class=""&gt;ERRORExpecting &lt;SPAN class=""&gt;value: &lt;SPAN class=""&gt;line &lt;SPAN class=""&gt;1 &lt;SPAN class=""&gt;column &lt;SPAN class=""&gt;1 (&lt;SPAN class=""&gt;char &lt;SPAN class=""&gt;0)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I'm trying to use the following app for it:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="https://splunkbase.splunk.com/app/5431/" href="https://splunkbase.splunk.com/app/5431/" target="_blank" rel="noreferrer noopener"&gt;https://splunkbase.splunk.com/app/5431/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is wrong? does anyone know how to make this work?&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: I'm sorry I can't use the "insert code" function here since it throws errors when I try.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Nov 2021 09:14:44 GMT</pubDate>
    <dc:creator>avoelk</dc:creator>
    <dc:date>2021-11-12T09:14:44Z</dc:date>
    <item>
      <title>How to connect Splunk API with Trend Micro Apex One aaS?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-connect-Splunk-API-with-Trend-Micro-Apex-One-aaS/m-p/574715#M101577</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I try onboarding several Trend Micro Cloud Applications like Apex One as a Service but it just doesn't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the Apex One Cloud Platform I can get the URL, Application ID and API Key necessary to connect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avoelk_0-1636707735669.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/16837i8680B729020A920C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avoelk_0-1636707735669.png" alt="avoelk_0-1636707735669.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;but it doesn't seem to work. I get the following errors in the apex_one_as_a_service_api.log :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2021-11-12 09:56:08,859 DEBUG pid=105063 tid=MainThread file=connectionpool.py:_make_request:437 | &lt;A href="https://xj7qb2.manage.trendmicro.com:443" target="_blank" rel="noopener"&gt;https://xj7qb2.manage.trendmicro.com:443&lt;/A&gt; "GET /WebApp/api/v1/Logs/officescan_virus?output_format=CEF&amp;amp;page_token=0&amp;amp;since_time=1636707248 HTTP/1.1" 404 1245 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2021-11-12 10:00:08,804 ERROR pid=122037 tid=MainThread file=base_modinput.py:log_error:309 | Get error when collecting events. Traceback (most recent call last): File "/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/apex_one_as_a_service/aob_py3/modinput_wrapper/base_modinput.py", line 128, in stream_events self.collect_events(ew) File "/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/apex_one_as_a_service_api.py", line 64, in collect_events input_module.collect_events(self, ew) File "/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/input_module_apex_one_as_a_service_api.py", line 91, in collect_events r_json = response.json() File "/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/apex_one_as_a_service/aob_py3/requests/models.py", line 897, in json return complexjson.loads(self.text, **kwargs) File "/opt/splunk/lib/python3.7/json/__init__.py", line 348, in loads return _default_decoder.decode(s) File "/opt/splunk/lib/python3.7/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/opt/splunk/lib/python3.7/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;splunkd.log itself says the same:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;11-12-2021 &lt;SPAN class=""&gt;10:02:08.931 +&lt;SPAN class=""&gt;0100 &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;ERROR &lt;SPAN class=""&gt;ExecProcessor &lt;SPAN class=""&gt;- &lt;SPAN class=""&gt;message &lt;SPAN class=""&gt;from "&lt;SPAN class=""&gt;/opt/splunk/bin/python3.7 &lt;SPAN class=""&gt;/opt/splunk/etc/apps/Apex-One-as-a-Service/bin/apex_one_as_a_service_api.py" &lt;SPAN class=""&gt;ERRORExpecting &lt;SPAN class=""&gt;value: &lt;SPAN class=""&gt;line &lt;SPAN class=""&gt;1 &lt;SPAN class=""&gt;column &lt;SPAN class=""&gt;1 (&lt;SPAN class=""&gt;char &lt;SPAN class=""&gt;0)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;I'm trying to use the following app for it:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A title="https://splunkbase.splunk.com/app/5431/" href="https://splunkbase.splunk.com/app/5431/" target="_blank" rel="noreferrer noopener"&gt;https://splunkbase.splunk.com/app/5431/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is wrong? does anyone know how to make this work?&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: I'm sorry I can't use the "insert code" function here since it throws errors when I try.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 09:14:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-connect-Splunk-API-with-Trend-Micro-Apex-One-aaS/m-p/574715#M101577</guid>
      <dc:creator>avoelk</dc:creator>
      <dc:date>2021-11-12T09:14:44Z</dc:date>
    </item>
  </channel>
</rss>

