feat(web-ng): add logs tab to device details page #1073
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar#1073
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from GitHub.
Original GitHub issue: #2942
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2942
Original created: 2026-02-28T04:15:20Z
Is your feature request related to a problem?
Please state a clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Imported GitHub comment.
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2942#issuecomment-3978656276
Original created: 2026-02-28T23:54:35Z
Investigation Findings
After exploring the codebase to implement this feature, we found a blocking issue: there is no way to associate logs with devices.
Problem
The
logstable (TimescaleDB hypertable) has these columns:timestamp,observed_timestamp,id(UUID)trace_id,span_id,trace_flagsseverity_text,severity_numberbody,event_namesource,service_name,service_version,service_instancescope_name,scope_version,scope_attributesattributes,resource_attributesIt does not have
device_id,uid,gateway_id, oragent_idcolumns. There is no foreign key or direct relationship between logs and devices.The SRQL catalog lists
uid,gateway_id,agent_idas filter fields for thelogsentity, but the Rust query builder (rust/srql/src/query/logs.rs) does not handle these fields — queries using them would return errors.What's needed before this can be implemented
One of:
device_uid(orgateway_id+agent_id) column to the logs table so logs can be directly associated with a deviceresource_attributesJSONB to store device identity and filter on it (would require JSONB filter support in the logs query builder)source/service_nameto device UIDsUntil there's a reliable way to link logs to devices, we can't build a meaningful logs tab on the device details page.