I'm attempting to get some data out of an EMC Unity Array. Using the Restlet Chrome Extension, I can get valid data back with this URL:
https://IP/api/types/metricValue/instances?filter=path eq "sp.*.cpu.summary.utilization" &per_page=1
When I configure the REST Modular Input the same way, I get no data basically. Here is what I receive:
The documentation is pretty slim, so I'm assuming I'm doing it wrong. Any ideas?
I had to do that same thing. You have to point to a specific argument. The question is, were you able to get the sp..storage.lun..currentIOCount? I have been struggling trying to get the correct URL to pull that data.
You should try something simple to test it out. You can grab a test API string from Google and verify its working as expected. Next, you should try doing a simple CURL with your api string to verify its working as expected
I could only get this working by putting the URL to the metric I'm wanting to track in the Endpoint URL field. If I put the base IP in the URL, and then added URL arguments, it wouldn't work.
I'm not sure why this is the case 😕
It works when I test it via a little Chrome extension. So I know the permissions are correct, and the URL parameters are correct. So, I'm assuming I'm just not putting it in correctly in the app 😕 However, there is no indication in splunkd.log of a mis-configuration, so I'm not sure.
If I login to the EMC console in Chrome, and then bring up Restlet, and perform a GET against https://ip/api/types/metricValue/instances?filter=path eq "sp.*.cpu.summary.utilization" &per_page=1 I receive the json format return I'm expecting.