Open rwjack opened 1 month ago
2.3 is looking great, thank you @ar51an!
I have multiple unbound hosts, so I figure I might document this here in case someone needs it.
Step 1: Add the Unbound Host Variable: (Name, Label, Query Option fields)
Step 2: Set the label in the promtail config:
- job_name: unbound static_configs: - targets: - localhost labels: job: unbound host: <DESIRED_HOSTNAME_LABEL> ####################### .... SNIP ....
Step 3: Modify the dashboard JSON
Replace all occurences of job=\"unbound\" -> with: job=\"unbound\", host=\"${unbound_host}\"
job=\"unbound\"
job=\"unbound\", host=\"${unbound_host}\"
Make sure to save the dashboard and voila!
Before:
After:
2.3 is looking great, thank you @ar51an!
I have multiple unbound hosts, so I figure I might document this here in case someone needs it.
Step 1: Add the Unbound Host Variable: (Name, Label, Query Option fields)
Step 2: Set the label in the promtail config:
Step 3: Modify the dashboard JSON
Replace all occurences of
job=\"unbound\"
-> with:job=\"unbound\", host=\"${unbound_host}\"
Make sure to save the dashboard and voila!
Before:
After: