This documentation is for WSO2 IoT Server 3.1.0. View the documentation for the latest release.
Page Comparison - Writing Analytics (v.2 vs v.3) - IoT Server 3.1.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

  1. Navigate to the analytics-data-config.xml file that is in the <IoT<IoTS_HOME>/core/repository/conf/analytics directory.
  2. Configure the fields under the <AnalyticsDataConfiguration> tag.

    Info

    Each field is described in the analytics-data-config.xml file.

    Example: 

    Code Block
    <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>