Versions Compared

Key

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

...

  1. Configure the <IoT_HOME>/conf/etc/device-analytics-config.xml file in the production environment.
    Skip this step if you are running WSO2 IoT Server in a developer environment.
    • ReceiverServerURL: The URL must be in the tcp://<HOSTNAME>:<PORT> format. The default HTTP port for the analytics profile in WSO2 IoT Server is 7613.

      Info

      If you want to change the TCP URL, see Setting up Multi Receiver and Load Balancing Data Agent in the WSO2 Data Analytics Server (DAS) docsdocumentation.

    • AdminUsername: Provide the administrator username. The default username is admin.
    • AdminPassword: Provide the password of the administrator. The default password is admin.

    Example: Single receiver

    Code Block
    languagexml
    <AnalyticsConfiguration>
       <Enabled>true</Enabled>
       <ReceiverServerUrl>tcp://localhost:7613</ReceiverServerUrl>
       <AdminUsername>admin</AdminUsername>
       <AdminPassword>admin</AdminPassword>
    </AnalyticsConfiguration>
  2. Configure the URL attribute in the <IoT_HOME>/conf/analytics/analytics-data-config.xml file as follows in a production environment: http://<HOSTNAME>:9445

    Info

    The default HTTPS port of the analytics profile in WSO2 IoT Server is 9445.

  3. Creating an event stream and receiver.

    Expand
    titleClick here for more information on creating an event stream and receiver.
    Panel
    borderColor#11375B
    bgColor#ffffff
    borderWidth1

    Include Page
    Creating a New Event Stream and Receiver
    Creating a New Event Stream and Receiver