Skip to main content

📜 Clean Dashboard Log Viewing


The default dashboard logs are dense JSON strings. Use these filtered commands to see exactly what is happening during a migration without the "noise".

1

Filter for Migration Progress

This command hides the repetitive warnings and only shows messages related to the index migration and server status.

sudo journalctl -u wazuh-dashboard -f | grep -iE "migration|savedobjects|server running"
2

Pretty-Print with JQ

If you have jq installed, this command parses the JSON into a structured, readable format with timestamps.

sudo journalctl -u wazuh-dashboard -f | grep --line-buffered "{" | jq '.'
3

The "Finish Line" Message

Regardless of the format, you are looking for this specific log entry. Once you see it, the migration is complete.

"message":"http server running at https://0.0.0.0:5601"

💡 Installing JQ

If the jq command is not found, install it with: sudo apt update && sudo apt install jq -y