Run command below to get an openobserve executable in the current directory:
curl -L -o openobserve-ee-v0.40.4-darwin-arm64.tar.gz https://downloads.openobserve.ai/releases/o2-enterprise/v0.40.4/openobserve-ee-v0.40.4-darwin-arm64.tar.gz
tar -zxvf openobserve-ee-v0.40.4-darwin-arm64.tar.gz
with-env { ZO_ROOT_USER_EMAIL: "root@example.com", ZO_ROOT_USER_PASSWORD: "Complexpass#123" } { ./openobserve }- open http://localhost:5080 and log in with above email and password
- Click on Data Source tab -> Real User Monitoring -> Reset RUM Token, copy the token value for later use (save as
$env.MY_RUM_TOKEN = "rumwu..."for programmatic use):
- clone the demo app:
git clone https://github.com/openobserve/rum-demo openobserve-demo; cd openobserve-demo/user-portal-app
npm install- add our RUM token to
src/App.js, either:
- edit the
clientTokenline manually - Run search and replace with our
MY_RUM_TOKENenvvar:sd "clientToken: ''" $"clientToken: '($env.MY_RUM_TOKEN)'" ./src/App.js
- run
npm start
- navigate to
http://localhost:3000/and start generating events (toggling sliders, updating passwords, etc.), you should now start to see data show up in your local openobserve instance: