SearchBlox Analytics as a service in Windows

SearchBlox Analytics as a service in Windows

Step 1: Set the Environment Variable for npm
Step 2: Install and link node-windows NPM package
Step 3: Install the SearchBlox analytics service

Set the Environment Variable for npm

  • Right-click on My Computer and go to Properties > Advanced > Environment Variables
  • Create a new user variable npm with value: C:\SearchBloxServer\analytics
420
  • Select Path variable and add a new path: C:\SearchBloxServer\analytics\node
371
  • You can check the npm version using the command given below:
    npm -version
260

Install and link node-windows NPM package

  • Run the following commands through the command prompt:
    npm install -g node-windows
    npm link node-windows

Install SearchBlox analytics service file

  • Install SearchBlox Analytics through command prompt using the command below:
    node installAnalyticsService.js
602
  • You will see the SearchBlox Analytics Service in your Services window as shown below.
1702

📘

Note

  • Change the Analytics service Startup Type to Manual.

SearchBlox Analytics Service Uninstallation

To uninstall the SearchBlox Analytics service, go to path:
C:\SearchBloxServer\analytics and run the following command in a command prompt.

node uninstallAnalyticsService.js

556

📘

Note

To re-install the SearchBlox Analytics service, you will need to uninstall and re-install the analytics service.