frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Ask HN: How do you handle audit logs in your systems?

5•efeoge•4h ago
I'm working on designing audit logging for a system that needs to track actions like data changes, user access, and administrative operations. The goal is to ensure traceability, support compliance, and assist with incident response.

I'm curious how others handle this in production:

- What data do you log?

- How do you structure audit logs (JSON, text, DB records)?

- How do you ensure logs are immutable/tamper-evident?

- Do you store them separately from application logs?

- What tooling or patterns have worked well (or poorly) for you?

Any war stories, best practices, or pitfalls to avoid would be really appreciated.

Comments

journal•3h ago
log minimum most important first. timestamp, path, user, and exception messages. don't implement update or delete. prefer storing logs outside the system. are you logging for debugging or audit purposes? can you do both in one place? and log the response code.

Brain Performance

https://blog.dianazink.com/brain-performance
1•wonger_•41s ago•0 comments

Tesla has signed a $16.5B chip contract with Samsung

https://www.cnbc.com/2025/07/28/samsung-electronics-new-chip-supply-contract.html
1•mfiguiere•14m ago•0 comments

Raspberry Pi 5 Gets a MicroSD Express Hat

https://www.cnx-software.com/2025/07/28/raspberry-pi-5-gets-a-microsd-express-hat/
1•geerlingguy•22m ago•0 comments

Fire Department Overall Run Profile as Reported to the Nfris (2022)

https://www.usfa.fema.gov/statistics/reports/firefighters-departments/fire-department-run-profile-v22i1.html
1•Guid_NewGuid•22m ago•0 comments

The Great Canadian Rights Grab

https://jacobin.com/2025/07/carney-canada-border-bill-trump/
1•colinprince•23m ago•0 comments

Self-host is just waiting for its iPhone moment

https://www.robertmao.com/blog/en/self-hosting-isnt-dead-its-just-waiting-for-its-iphone-moment
1•robmao•26m ago•2 comments

Show HN: The Hand Rolled Assembly Machine

https://hram.dev/indexb.html
1•90s_dev•27m ago•0 comments

Use a Password Manager for All Your Secrets, Not Just Logins

https://www.wsj.com/tech/personal-tech/why-you-should-use-a-password-manager-for-all-your-secrets-not-just-logins-e4c46a8b
1•SegfaultSeagull•37m ago•0 comments

EU and US agree trade deal, with 15% tariffs for European exports to America

https://www.bbc.com/news/articles/cx2xylk3d07o
5•teleforce•40m ago•0 comments

Spider Venom Prevents Tissue Damage After Heart Attack and Stroke

https://www.the-scientist.com/spider-venom-prevents-tissue-damage-after-heart-attack-and-stroke-73204
1•Gaishan•46m ago•0 comments

Gopher2000 – A Gopher server for the next millenium

https://github.com/muffinista/gopher2000
2•rickcarlino•55m ago•0 comments

Show HN: A semantic code search tool for cross-repo context retrieval

https://github.com/hpbyte/h-codex
2•hpbyte•56m ago•0 comments

Tom Lehrer, Performer of Lobachevsky, New Math, and Alma, Goes to Valhalla

https://www.avclub.com/tom-lehrer-obituary
4•hilux•1h ago•0 comments

Go-CDC-chunkers: chunk and deduplicate everything

https://plakar.io/posts/2025-07-11/introducing-go-cdc-chunkers-chunk-and-deduplicate-everything/
1•PaulHoule•1h ago•0 comments

Cyberdeck – Pi Zero 2 W with Xbox 360 Chatpad

https://hackaday.com/2025/07/27/a-very-tidy-handheld-pi-terminal-indeed/
3•kelt•1h ago•0 comments

A change in the Southern Ocean structure can have climate implications

https://www.icm.csic.es/en/news/change-southern-ocean-structure-can-have-climate-implications
1•colinprince•1h ago•0 comments

Show HN: Showcase Your Web and Mobile Apps

https://vibegiz.com/
1•ampedcast•1h ago•0 comments

Ask HN: Do You Block DigitalOcean?

3•sugarpimpdorsey•1h ago•5 comments

Audiobook narrators don't have the same profiles as book authors do

https://goodereader.com/blog/audiobooks/audiobook-narrators-dont-have-the-same-profiles-as-book-authors-do
1•goodereader•1h ago•0 comments

Naval Group Suffers Cyberattack: Hackers Claim Access to French Warship Systems

https://dailysecurityreview.com/security-spotlight/naval-group-suffers-cyberattack-hackers-claim-access-to-french-warship-combat-systems/
3•mmarian•1h ago•0 comments

VPN use surges in UK as new online safety rules kick in

https://www.ft.com/content/356674b0-9f1d-4f95-b1d5-f27570379a9b
27•mmarian•1h ago•4 comments

Treasure Trove (Zeeman Medal Lecture by Brady Haran) [video]

https://www.youtube.com/watch?v=tsZkzxEhpHk
1•celias•1h ago•0 comments

Facial Reconstruction, Nazis, and Siberia: The Story of Mikhail Gerasimov (2011)

https://www.atlasobscura.com/articles/facial-reconstruction-nazis-and-siberia-the-story-of-mikhail-gerasimov
2•georgecmu•1h ago•0 comments

GPS vs. BDS- Iran banned GPS and switched to Chinese BDS

https://lidarandradar.com/gps-vs-beidou/
1•witnessme•1h ago•0 comments

Mitochondria infusions to heal damaged organs

https://knowablemagazine.org/content/article/technology/2025/mitochondrial-therapy-to-treat-damaged-organs
4•Gaishan•1h ago•1 comments

Sunday Podcast Generator

https://sunday-podcast.vercel.app
1•rahuldey•1h ago•3 comments

Crafting a Dice Roller with Three.js and Cannon-Es

https://tympanus.net/codrops/2023/01/25/crafting-a-dice-roller-with-three-js-and-cannon-es/
2•airstrike•1h ago•1 comments

Implement AI Typesetting in Word

https://medium.com/@mapinxuesmail/how-to-implement-ai-typesetting-in-word-7a3b5484232a
1•mapinxue•1h ago•0 comments

New neuroscience study shows the brain emits light through the skull

https://www.psypost.org/fascinating-new-neuroscience-study-shows-the-brain-emits-light-through-the-skull/
2•handfuloflight•1h ago•0 comments

New advanced microscopy method is open-source and open-access

https://phys.org/news/2025-07-microscopy-method-reveals-images-complex.html
3•rudderdev•1h ago•0 comments