Operations

Operations

Running DPLens day to day — the service, permissions, logs, health, backup and upgrades.

What you need once DPLens is installed and working.

The short version

TaskHow
Start or stopsc.exe start dplens / sc.exe stop dplens
Check it is runningsc.exe query dplens
See what it is doingThe console, on https://localhost:8443
Change configurationThe console, or edit agent.yaml and restart
Check a configuration filedplens.exe --validate-only --config <file>
Set a secretdplens.exe --set-secret secret://<name>
Check the licencedplens.exe --verify-licence <file>
Back upC:\ProgramData\DPLens\config\

Run these from an elevated prompt; the program is at C:\Program Files\DPLens\dplens.exe.

What it does on its own

DPLens is built to keep running without attention.

What it will not do on its own is update itself, or reach out to any service of ours. There is no auto-update and no telemetry.

What to watch

If you are adding DPLens to a monitoring regime, these are the signals worth alerting on:

SignalWhereWhy
Agent health not HealthyOverviewA source or destination has a problem
A destination in cached backlog for longer than you expectDestinationsDelivery is failing; the cache is finite
Cache depth approaching its capDestinations, Settings → ResourcesYou are about to start dropping, or pausing
Non-zero drops you did not configureOverviewSomething is discarding events
Licence approaching expirySettings → LicenceCollection stops after the grace period
The service not runningsc.exe query dplensNothing is being collected

The audit log records changes rather than health, but a configuration change you did not expect is worth an alert of its own — see Settings and audit.