Thanks for your interest in the Intel Edison Platform.
Before you start searching for more information regarding the IoT Analytics. You should check this thread (Intel® Cloud Analytics have been discontinued ) were it explains that this product will be discontinued and offers alternative solutions.
Now if you want to keep using IoT Analytics. I would recommend to check this link were it explains how to use the iotkit-agent that is intended to run services (GitHub - enableiot/iotkit-agent: Edge agent to abstract cloud connectivity complexities ). Also check this link to learn how to handle alerts (Alert Management · enableiot/iotkit-api Wiki · GitHub ). I hope you find this information useful.
I will be waiting for your reply, have a nice day.