An apparatus for operating an analytics management service, AMS, at an Internet of Things, IoT, network service layer, SL, the IoT network SL providing service capabilities as middleware between application protocols and applications through a set of application programming interfaces, APIs, the apparatus comprising: a processor; and a memory coupled with the processor, the memory comprising executable instructions that when executed by the processor cause the processor to effectuate operations comprising: receiving from an application a request to create an AMS policy for analyzing IoT SL data, wherein the AMS policy specifies a selective analysis to be performed on the IoT SL data by configuring one or more Analytic Functions, AF, of the AMS in the IoT network SL to perform an analysis on the IoT SL data, the AMS being configured with multiple AF to analyze IoT SL data from multiple sources, and wherein the AMS policy defines how analytical results received from the one or more AF are stored in the IoT network SL and how to access the analytical results in the IoT network SL, wherein the AMS provides authorization allowing IoT SL entities without access to an original location of IoT SL data access to selected portions of the IoT SL data in the IoT network SL based on the analytical results; based on the received request, creating the AMS policy; configuring the one or more AFs according to the AMS policy; and executing the analysis based on the configured one or more AFs. a processor; and a memory coupled with the processor, the memory comprising executable instructions that when executed by the processor cause the processor to effectuate operations comprising: receiving from an application a request to create an AMS policy for analyzing IoT SL data, wherein the AMS policy specifies a selective analysis to be performed on the IoT SL data by configuring one or more Analytic Functions, AF, of the AMS in the IoT network SL to perform an analysis on the IoT SL data, the AMS being configured with multiple AF to analyze IoT SL data from multiple sources, and wherein the AMS policy defines how analytical results received from the one or more AF are stored in the IoT network SL and how to access the analytical results in the IoT network SL, wherein the AMS provides authorization allowing IoT SL entities without access to an original location of IoT SL data access to selected portions of the IoT SL data in the IoT network SL based on the analytical results; based on the received request, creating the AMS policy; configuring the one or more AFs according to the AMS policy; and executing the analysis based on the configured one or more AFs. receiving from an application a request to create an AMS policy for analyzing IoT SL data, wherein the AMS policy specifies a selective analysis to be performed on the IoT SL data by configuring one or more Analytic Functions, AF, of the AMS in the IoT network SL to perform an analysis on the IoT SL data, the AMS being configured with multiple AF to analyze IoT SL data from multiple sources, and wherein the AMS policy defines how analytical results received from the one or more AF are stored in the IoT network SL and how to access the analytical results in the IoT network SL, wherein the AMS provides authorization allowing IoT SL entities without access to an original location of IoT SL data access to selected portions of the IoT SL data in the IoT network SL based on the analytical results; based on the received request, creating the AMS policy; configuring the one or more AFs according to the AMS policy; and executing the analysis based on the configured one or more AFs.