Hi, thank you for the reply bwooden.
I am using Splunk Add-on Builder 2.0.0, app build 15.
I'm doing exactly what you've described (using the helper function to collect the text in the setup parameter). It works perfectly well when I hit the test button. However, data is not automatically collecting once I move past the code definition stage (to the parsing stage). Only when I go back and hardcode the API token does data start collecting per the time intervals that I set for the add-on to run.
To summarize, my code is able to obtain the API token from the Setup Parameter textbox when I hit the "Test" button and it's clear that everything is working (output shows that it's pulling the right data from my API). Once I move past that point to the data parsing stage, there is no data present, regardless of the time interval that I've set for data collection. Only when I go back and hardcode the API token does data start collecting at the intervals the data collection has been set to run, enabling me to parse the JSON. Is this normal behavior?
... View more