# 📜 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".

<div class="page-content" id="bkmrk-1" style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; color: #24292e;"><div style="margin-top: 24px;"><div style="display: flex; align-items: flex-start; margin-bottom: 24px;"><div style="background-color: #206afb; color: white; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 12px; flex-shrink: 0;">1</div><div style="flex-grow: 1;">  
</div></div></div></div>### 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"
```

<div class="page-content" id="bkmrk-2" style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; color: #24292e;"><div style="margin-top: 24px;"><div style="display: flex; align-items: flex-start; margin-bottom: 24px;"><div style="flex-grow: 1;"></div></div><div style="display: flex; align-items: flex-start; margin-bottom: 24px;"><div style="background-color: #206afb; color: white; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 12px; flex-shrink: 0;">2</div><div style="flex-grow: 1;">  
</div></div></div></div>### 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 '.'
```

<div class="page-content" id="bkmrk-3" style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; color: #24292e;"><div style="margin-top: 24px;"><div style="display: flex; align-items: flex-start; margin-bottom: 24px;"><div style="flex-grow: 1;"></div></div><div style="display: flex; align-items: flex-start; margin-bottom: 24px;"><div style="background-color: #206afb; color: white; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-right: 12px; flex-shrink: 0;">3</div><div style="flex-grow: 1;">  
</div></div></div></div>### The "Finish Line" Message

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

<div class="page-content" id="bkmrk-%22message%22%3A%22http-serv" style="font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.5; color: #24292e;"><div style="margin-top: 24px;"><div style="display: flex; align-items: flex-start; margin-bottom: 24px;"><div style="flex-grow: 1;"><div style="background-color: #f1f8ff; border-left: 4px solid #0366d6; padding: 12px; font-family: monospace; font-size: 0.9rem;">"message":"http server running at https://0.0.0.0:5601"</div></div></div></div><div style="margin-top: 32px; padding: 16px; background-color: #e7f3ff; border: 1px solid #d1d5da; border-left: 6px solid #206afb; border-radius: 6px;">  
</div></div>#### 💡 Installing JQ

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