Activity Feed
- Got Karma for New user & REST API. 11-20-2020 09:14 AM
- Posted New user & REST API on All Apps and Add-ons. 10-19-2020 02:23 PM
Topics I've Started
Subject | Karma | Author | Latest Post |
---|---|---|---|
1 |
10-19-2020
02:23 PM
1 Karma
I'm a new Splunk user and I'm trying to get a simplistic working data feed that I can build off of. I tend to learn better that way. I'm trying to use the Ecobee API to poll my smart thermostat for data to import and index in Splunk. I've searched and found the Add-On Builder for Splunk which seems fitting for the job. I'm having trouble successfully configuring the app. I can successfully run the following command from the Splunk server CLI: curl -s -H 'Content-Type: text/json' -H 'Authorization: Bearer MY_ACCESS_TOKEN' 'https://api.ecobee.com/1/thermostat?format=json&body=\{"selection":\{"selectionType":"registered","selectionMatch":"","includeRuntime":true\}\}' I'm having trouble running a successful test with what I believe are the same settings in the Add-On Builder data import wizard. Below are the settings I'm using in attempt to mirror the command above: REST URL:
https://api.ecobee.com/1/thermostat?format=json&body=\{"selection":\{"selectionType":"registered","selectionMatch":"","includeRuntime":true\}\}
REST method:
GET
REST request headers:
Content-Type json
Authorization Bearer MY_ACCESS_TOKEN The output given is: The response status=403 I feel if I can get a basic query working, that I can step it out from there, but I can't figure out what I'm doing wrong. Any suggestions?
... View more
Labels
- Labels:
-
configuration