WSO2 IoT Server uses WSO2 Data Analytics Server ( WSO2 DAS) to write batch analytics and process historical sensor data. Your device will have one or more sensors to gather data. For example, the IRS+ Drone has sensors to identify its current location, velocity, and battery charged percentage.
Before you begin, you need to have an understanding of the IoTS analytics framework. For more information, see WSO2 IoTS IoT Server Analytics. Further, let's get an understanding of the DAS artifacts that each sensor in WSO2 IoTS needs to have.
- Navigate to the
analytics-data-config.xmlfile that is in the
Configure the fields under the
Each field is described in the
<AnalyticsDataConfiguration> <Mode>REMOTE</Mode> <URL>http://10.10.10.345:9765</URL> <Username>admin_username</Username> <Password>admin_password</Password> <MaxConnections>200</MaxConnections> <MaxConnectionsPerRoute>200</MaxConnectionsPerRoute> <SocketConnectionTimeout>60000</SocketConnectionTimeout> <ConnectionTimeout>60000</ConnectionTimeout> </AnalyticsDataConfiguration>