logging
Logging in PosKit answers two different questions, and it gives you a different view for each.
| Question | View |
|---|---|
| "What is going wrong across the estate, and is it new?" | patterns |
| "What exactly happened on this device at this moment?" | stream |
Both sit under one shared header, and a manage policies link leads to the log settings.
the two views
Patterns clusters log lines that share a shape and ranks them by how often they recur. It is the view you open when you do not yet know what you are looking for — its tagline is "cluster first, read raw lines last".
Stream is a single time-ordered, faceted feed of every log entry, unifying agent-emitted events and lines shipped from collected files. It is the view you open once you know which device and which minute matter — "one unified, faceted stream across event and file logs".
Work in that order. Start in patterns to find out what is recurring and on how many devices, then click through into stream — the click carries your active window and location or device focus across — to read the raw lines. Opening stream first on a large estate means reading a firehose without knowing what you are looking for.
what feeds the logs
| Source | What it is | Configured by |
|---|---|---|
| Event logs | Structured events emitted by the PosKit agent | log shipping settings |
| File logs | Lines shipped from files collected off the device | file log collection policies |
Both appear together in the stream, distinguished by the type facet.
levels and categories
These are consistent across both views.
Levels: TRACE, DEBUG, INFO, WARN, ERROR, FATAL.
Categories: SYSTEM, APPLICATION, SECURITY, PERFORMANCE, SIMPHONY, NETWORK, HARDWARE, AUDIT.
permissions
| Action | Requirement |
|---|---|
| View patterns and stream | A session — no special permission |
| Create, update, delete or sync collection policies | system:logs (supervisor and above) |
| Change log shipping configuration | system:logs (supervisor and above) |
Reading logs is deliberately open to any signed-in user, while changing what gets collected is restricted to supervisors and administrators. Someone who can see everything in the stream may still be unable to alter a single policy.
retention
A background job deletes file log entries older than the retention period set on each policy.
Entries that are orphaned — no longer matching any policy, typically because the policy was deleted — are only removed once they are older than 7 days.
Deleting a policy therefore does not immediately clear the data it collected. Expect up to a week's tail.