JavaMelody
Monitoring SearchBlox with JavaMelody
JavaMelody is a built-in monitoring tool that gives system administrators a real-time view of how SearchBlox is performing. It runs as a lightweight background agent alongside SearchBlox and continuously collects performance data without requiring any separate installation. It tracks the following key metrics:
- System metrics (CPU, memory, threads)
- HTTP request statistics
- Database query performance
- Search operation analytics
Accessing JavaMelody
Login URL: https://<your-domain>:8443/monitoring
(Default: https://localhost:8443/monitoring)
Default Credentials:
JavaMelody is password protected to prevent unauthorized access to sensitive performance data. The default login credentials are shown below.
Username: admin
Password: searchblox
Dashboard Features:
Once logged in, the JavaMelody dashboard provides the following monitoring views and tools to help you assess the health and performance of your SearchBlox installation:
- Real-time performance graphs
- Request/response statistics
- System resource utilization
- Historical trend analysis
Changing Password of JavaMelody
For security purposes, it is important to replace the default JavaMelody password with a strong custom password before deploying SearchBlox in a production environment. Follow the steps below to update the JavaMelody login credentials:
- Navigate to:
<SEARCHBLOX_INSTALLATION_PATH>/webapps/ROOT/WEB-INF/web.xml - Locate the security constraint section:
<filter>
<filter-name>javamelody</filter-name>
<filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
<async-supported>true</async-supported>
<init-param>
<param-name>authorized-users</param-name>
<param-value>admin:searchblox</param-value>
</init-param>
</filter>
- Replace searchblox with your new password in the format:
username:password - Restart SearchBlox service to apply changes:
