All docs This doc

Versions Compared

Key

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

...

  1. In your terminal, navigate to the <SP_HOME>/bin directory. Then issue one of the following commands to start the dashboard server.
    • On Windowsdashboard.bat --run
    • On Linux/Mac OS: ./dashboard.sh
     
  2. Start a WSO2 SP worker runtime by issuing one of the following commands from the <SP_HOME>/bin directory.
    • On Windowsworker.bat --run
    • On Linux/Mac OS./worker.sh
  3. Access the Business Rules Manager via one of the following URLs.
    • For HTTP: http://<SP_HOST>:<HTTP_PORT>/business-rules (e.g.,  http://0.0.0.0:9090/business-rules )
    • For HTTPS: https://<SP_HOST>:<HTTPS_PORT>/business-rules (e.g.,  https://0.0.0.0:9443/business-rules )
  4. If you do not have any business rules that are already created, click Create. If there are existing rules, click to create a new rule.
     
  5. Click Template to create the business rule from the business template that is already available in the HTTP Analytics solution.
     
  6. Click on HTTP-Analytics to create your business rule from the HTTP Analytics template group.
     
    This opens the HTTP-Analytics page. Select the HTTP-Analytics-Processing template in the RuleTemplate field.
     
    This opens the predefined fields of the HTTP-Analytics-Processing template.
  7. To define the business rule, enter information in the fields displayed as follows:

    FieldDescriptionDefault
    Business Rule NameA unique name for the business rule.N/A
    This specifies the source definition via which the HTTP events are received. For more information about sources, see Siddhi Query Guide - Source.type='http', @map(type='json')
    Store for HTTP AnalyticsThis specifies a store definition to store the processed events received via HTTP. For more information about storing data, see Siddhi Query Guide - Store Query.type="rdbms",datasource="HTTP_ANALYTICS_DB"
    If this is set to Yes, the system time is used for aggregation. If this is set to No, the timestamp from the arrived event is used for aggregation.Yes
  8. Click SAVE & DEPLOY

...