What OpenBao audit devices record and when teams need them
A security or compliance team that must show who read which secret, and when, needs audit devices enabled before OpenBao holds production secrets. OpenBao audit devices write request and response records for operations against the server, so the audit trail becomes one of the main evidence sources when an access review asks whether a credential was used by the person or workload that was supposed to use it. Without that record in place from the first day, the gap cannot be filled later, because events that were never written cannot be reconstructed from memory or from application logs.
Teams should treat audit logging as a go-live requirement rather than a later hardening task whenever OpenBao will hold credentials for regulated systems, issue certificates that other services trust, or perform encryption on behalf of applications. Before go-live, the team should confirm which audit devices will be enabled, where each one writes, who can read those records, and how a reviewer will match an OpenBao event to a named identity from the configured auth method. Confirm these points with the OpenBao documentation for your release and with your own log custody rules, since the exact record content depends on the device type and version you deploy. The OpenBao documentation is the natural starting point for that check.
DeployOpen prepares the audit device configuration, the log handling path and the evidence the client needs to present during a review, within the infrastructure the client controls. DeployOpen does not decide whether that evidence is sufficient for a given framework or assessment. Independent auditors and the client's compliance function make that judgment, so the scope agreed in writing should name the evidence artifacts to be produced and the people who will walk an auditor through them.
How a request flows from OpenBao to audit devices and the SIEM
The diagram starts with a client request reaching the OpenBao server, which writes an audit entry to every enabled audit device before the response is returned. The devices shown are file, syslog, socket and HTTP, and running more than one means a single failing device does not block requests while others still record them. Logs then cross the trust boundary to the log collector on a separate host, where forwarding to a SIEM is a choice the team makes and configures, not a built-in OpenBao feature. Check that each device's failure behavior and the transport to the collector are tested.
Audit devices write each request to the SIEM path, with the host boundary marked.
Choosing between file, syslog, socket and HTTP audit devices
This table compares the four OpenBao audit device types by where the log goes, who operates the receiver, and how each choice affects storage, forwarding and failure handling. Read each row against your existing log pipeline and your forensic review needs, then confirm the exact configuration options for your OpenBao version in the audit documentation.
| Decision factor | File audit device | Syslog, socket and HTTP audit devices |
|---|---|---|
| Where the log goes | A local file on the OpenBao node, read by you or by a shipper such as a log agent | A syslog daemon, a local or remote socket, or an HTTP endpoint that receives audit entries |
| Who operates the receiver | Your platform team owns the file path, permissions, rotation and any shipper | Your log pipeline team or SIEM owner operates the receiver and its availability |
| Fit for a team with an existing log pipeline | Works if a shipper reads the file reliably, but adds one more component to watch | Usually the better fit, since entries go straight into a pipeline your team already monitors |
| Fit for forensic review on the node | Strong fit, because the raw audit record stays on the host for direct inspection | Weaker fit unless the receiver also keeps a copy you can reach during an investigation |
| Storage and rotation | Disk space, retention and rotation are your responsibility on each node | Storage moves to the receiver, so confirm its retention and capacity before relying on it |
| Forwarding to a SIEM | Needs a separate shipper, which must handle restarts and backlog | Forwarding is built into the receiver path, but the receiver must stay reachable |
| Failure handling | Disk full or unwritable paths are failure modes to monitor on each node | Network or receiver outages are failure modes to monitor, and pairing with a second device limits impact |
| What to confirm before choosing | Configuration keys, file options and permissions in the OpenBao audit documentation for your version | Configuration keys, endpoint options and TLS settings in the OpenBao audit documentation for your version |
Why run more than one audit device and what an audit failure does
OpenBao audit devices sit in the request path, so a single device that cannot write can stop requests from being served. Teams enable a second audit device as a safeguard: if the first device fails, the second keeps a record of requests and responses flowing. The design only works if you know exactly how your version of OpenBao handles a failed device, because the behavior that protects availability and the behavior that protects accountability pull in opposite directions. Before you rely on two devices, confirm in the OpenBao documentation for your exact version whether a write failure on any one device blocks requests, and whether OpenBao continues when at least one other device succeeds.
Place the two devices in different locations and under different operators where your organization allows it. A typical pairing is a local file device on the OpenBao node, written by the service, and a syslog or socket device that forwards to a collector owned by the security team. The second device should not share the same disk, mount, volume or network path as the first. If both write to one filesystem, a full disk or a failed mount takes out both records at once, and if both forward through one network segment or one log relay, a single outage silences both. Document which team owns each sink, how each is monitored for write errors, and who is paged when one stops.
Test failure behavior in a non-production cluster before the design reaches production. Simulate a full disk, a revoked file permission, an unreachable syslog or socket endpoint and an unavailable collector, then send test requests and observe whether they succeed, fail or are logged elsewhere. Record the results and tie them to the version you run. Ask your OpenBao support provider or review the project's release notes to confirm any change in audit behavior between minor releases, and repeat the test after each upgrade. The outcome of this test decides whether a second device is a real safeguard or only a second place to find out that logging has stopped.
How to enable audit devices in a safe order
This sequence turns audit logging from a one-time setting into a checked change, so OpenBao keeps a complete record of requests and the SIEM receives it before any existing device is removed. Each step ends with a check that the team can record as evidence.
Agree log destinations and retention with security
Before touching the cluster, the platform team and the security team agree where audit entries will go, such as a local file, syslog, a socket or an HTTP endpoint, and how long they must be kept on each hop. They also confirm which SIEM will receive the entries and who owns the retention rules on both sides. The step is done when the agreed destinations, owners and retention expectations are written down in the change record. Ask the security team to confirm the retention requirement in writing, since OpenBao does not set one for you.
Enable a second audit device before removing any
Enable the new audit device alongside the existing one rather than replacing it. The aim is to have more than one audit path active, so that a failure in one device does not stop requests from being audited through the other. Confirm in the OpenBao documentation how the audit devices behave when one of them fails, because that behavior determines whether requests are blocked. Work through the exact enablement commands in the OpenBao docs and apply them on each node in your planned order. The step is complete when the device list shows every intended device as enabled.
Confirm log writes from a test request
Make a harmless, known request, such as reading a non-sensitive test path with a dedicated test token, and then find its entry in each audit destination. Check that the entry appears in every device you enabled, not only the first one. Verify that sensitive values in the entry are hashed rather than readable, since the HMAC behavior is what makes the log safe to forward. The step is done when the test request's entry is present and correctly hashed in all destinations. If a destination shows no entry, stop and fix it before continuing.
Check file permissions and rotation on the host
For file-based devices, confirm that the audit log file and its directory are owned by the account OpenBao runs under and are not readable by other local users. Check that the host's log rotation tool rotates the file without losing entries, and that OpenBao continues writing to the new file after rotation. Test the rotation on a non-production node first if your tooling allows it. The step is done when a rotation test completes and new entries land in the rotated file without a restart being needed. Ask your operations team to confirm this behavior for your specific rotation tool.
Verify that the SIEM receives the entries
Check the SIEM's ingestion side, not just the OpenBao side, by searching for the test request's entry in the SIEM and confirming that the fields arrived intact. Look for gaps during a period of node restarts and network interruptions. Confirm that the SIEM parses the HMAC-hashed fields as strings, and that alerts you plan to write can match on them. If you forward through a collector, verify each hop. The step is done when the SIEM shows the test entry with the expected fields and the team has recorded where the forwarding path could fail.
Remove the old device only after verification
Once the new devices have passed the write, permission, rotation and SIEM checks, disable the original audit device. Do this during a planned window and on one node at a time while watching audit output. Confirm again that a test request is still logged through the remaining devices after each removal. The step is complete when the device list matches the agreed design and the test request is still captured end to end. Keep the earlier configuration in the change record so the team can reverse the change.
Document the change and schedule recurring checks
Record the final device list, destinations, retention rules, file ownership and rotation method, SIEM index or field mapping, the test request used, and the date of each check. Name an owner for the audit path and for the SIEM side. Add a recurring check that confirms entries still arrive after upgrades, restarts and certificate or network changes. Use the OpenBao upgrade notes as a trigger for re-verification. The step is done when the record is stored where the security and compliance teams can review it and the recurring check has a named owner.
What the security team and the platform team each decide
The security or compliance team decides what the audit trail must prove and who is accountable for reading it. These choices set the content of every entry before a platform engineer chooses a disk, a syslog target or a socket. Start by mapping each logging decision to a control in your compliance program, so the evidence you keep can be shown to an assessor without rework.
- Event scope: Decide which request and response paths must be captured, such as authentication, secret reads, policy changes and system endpoints, and which paths you accept leaving out.
- Retention: Set retention periods from the obligations that apply to your organization, and confirm how long the SIEM keeps the same entries so the two stores do not disagree.
- Review ownership: Name who reviews entries, how often the review happens, and what triggers an escalation to incident response.
- HMAC handling: Decide who may run a hash comparison that matches a known value to a logged entry during an investigation, and require that each lookup is itself recorded.
Before go-live, confirm with the platform team which fields are hashed and which remain readable, and check that the SIEM team can parse the entries you plan to forward.
The platform team decides how audit logging stays available and what it costs in disk capacity and operator time. An audit device that cannot write can block requests, so device placement, failure handling and maintenance are engineering questions that the security team cannot answer alone. Treat every audit device as a dependency of the cluster, with the same monitoring and change control as the cluster itself.
- Device placement: Choose which devices run, where file or socket outputs sit on each node, and whether syslog or socket targets are local or remote. Confirm the path and permissions are identical on every node that can become active.
- Multiple devices: Run more than one audit device so that a single device failure does not block requests, then test that behavior deliberately instead of assuming it.
- Disk capacity: Size the log volume from the expected request volume and retention period, and alert well before the volume fills.
- Rotation and upgrades: Plan log rotation for file devices and check after each upgrade that the device path, ownership and rotation settings still work.
Before go-live, agree with the security team how a device failure is reported, who is paged, and how long a degraded cluster may run before someone acts.
Application owners see audit entries from the request side. Their workloads determine which identities appear in the log, which paths are read and how often, and whether troubleshooting depends on values that HMAC hashing conceals. Owners who understand these effects before go-live avoid surprises during an incident, when the log is the first thing the security team will ask for.
- Identity naming: Use consistent authentication role and entity names for each service so that audit entries map clearly to one application and its owner.
- Request tracing: Agree which client-supplied request identifiers the application will send, so an audit entry can be matched to an entry in the application log.
- Hashed fields: Learn which values appear hashed in the log, so troubleshooting does not depend on reading raw secret values that the log will not show.
- Change notices: Tell the platform team before a release adds new paths or changes how often secrets are read, since that changes log volume and may trigger a review.
Before go-live, ask the security team how entries about your service are requested during an incident, who approves that access, and how quickly the request is expected to be answered.
Forwarding HMAC-hashed audit logs to a SIEM: Wazuh and Graylog as options
OpenBao hashes sensitive values with HMAC before it writes them to an audit log, so the record can show that a particular secret or token was used without exposing the value itself. Before you forward these logs anywhere, confirm which fields your audit device hashes, which fields remain in plain text, and how the HMAC key is generated, stored and rotated. The key matters because anyone holding it can test guessed values against the logged hashes, so it should be kept apart from the log pipeline and access to it should be recorded. Plan the forwarding path around these answers, not around the receiver you happen to choose first.
Wazuh is distributed under the GNU General Public License version 2, with an exception that permits linking with OpenSSL, and it ships as four parts: agents on endpoints, a server that analyzes data with decoders and rules, an indexer that stores alerts, and a dashboard. Its dashboard includes prebuilt views for PCI DSS, GDPR, HIPAA and NIST 800-53, which can shorten the path to a compliance review if your evidence needs match those frameworks. Graylog Open is licensed under SSPL-1.0, which is not an OSI-approved open source license, so have your legal team review it before adoption. It also needs MongoDB for configuration and either Graylog Data Node or self-managed OpenSearch for storage. Graylog 7.0 to 7.2 support OpenSearch from 1.1.x up to 3.7.x, OpenSearch 1.x is deprecated since Graylog 7.0, and Graylog Security requires OpenSearch 2.0 or later.
According to the Graylog pricing page, Graylog Open is free with no volume limits and community support, while Graylog Enterprise starts at 15,000 US dollars per year and Graylog Security starts at 18,000 US dollars per year. Both paid tiers have a minimum of 10 GB per day or 100 Graylog Compute Units, and they are licensed on processed data with no per-user or per-device fees. Ask for a written quote that states the licensed volume, the support terms and any charges for storage or the search backend, because those drive total cost of ownership. Whichever receiver you pick, size storage from your audit volume and retention period, and test that hashed fields are not reversed or re-exposed by parsing rules.
Security considerations for audit log handling
An audit trail is only useful if it is complete, unaltered and available when an incident happens. The cards below cover the host, the people, the network path, the HMAC key, delivery monitoring and incident handling, because a weakness in any one of them can hide what OpenBao did.
Protect audit files on the host
File audit devices write plain records to disk, so the file owner, directory permissions and log rotation settings decide who can read or delete evidence. Confirm that only the OpenBao service account can write the audit file, that the directory is not world-readable, and that rotated files keep the same restrictions. Check that a local administrator cannot silently truncate the file without the change appearing elsewhere, for example in a forwarded copy.
Restrict who changes audit devices
Enabling, disabling or reconfiguring an audit device is an administrative action that should itself be tightly controlled. Confirm which policies allow managing sys/audit paths, which people hold those policies, and whether root tokens are used for routine work. Record who holds these rights and review the list on a fixed schedule, because an attacker who removes the audit device before acting leaves little behind.
Separate the log path from the cluster
If the audit destination shares a disk, network segment or failure domain with the OpenBao cluster, one outage or compromise can take out both the secrets and their record. Decide where the log store and forwarder run, which zone or site they depend on, and how they are patched and backed up. Document what happens to requests when the log path is down, and test it before relying on the design.
Protect and rotate the HMAC key
OpenBao hashes sensitive values in audit entries with an HMAC key, so the key determines whether a log can be correlated to a secret value. Confirm where the key material is stored, who can read the audit configuration that references it, and how a rotation affects correlation of older entries. Agree on a rotation process with your security team and record which key version was active for each period, so investigators can interpret logs after the change.
Monitor for gaps in delivery
Audit devices can fail, fall behind or stop forwarding without an obvious error in the application. Confirm that you alert on the audit device status, on a sudden drop in entry volume, and on forwarder health at the SIEM. Compare the count of events from each OpenBao node against expected activity, and treat a silent source as an incident until someone proves otherwise.
Handle logs during incident response
During an incident, responders need to pull OpenBao logs without changing them or exposing more secret material than necessary. Agree in advance who may export audit data, how exports are hashed and logged, and where copies are stored. Confirm that the retention period in your SIEM and on the host covers the detection window for your environment, and that legal hold requests can be applied to both locations.
What audit logging costs and what it takes to run
What drives the cost of running audit logging for OpenBao?
Cost comes from four components: the log receiver (SIEM or log platform), storage sized for ingest and retention, staff time to build and tune the pipeline, and the dashboards and compliance content your teams want on top. Receiver licensing is usually the largest recurring line, and it often scales with data volume or features rather than with OpenBao itself. Storage grows with daily ingest multiplied by retention days, so longer retention raises both disk and licensing costs. Ask any quote to separate one-time build work from recurring licenses, hosting and support.
Does Graylog Open have a license cost for audit log receiving?
Graylog Open has no license fee. The Graylog pricing page lists Graylog Open as free with no volume limits and community support. Paid tiers are different: the same page lists Graylog Enterprise from 15,000 US dollars per year and Graylog Security from 18,000 US dollars per year, each with a minimum of 10 GB per day or 100 Graylog Compute Units, licensed on processed data with no per-user or per-device fees. Confirm current terms with Graylog, since the open edition is licensed under SSPL-1.0 and is not an OSI-approved license.
How do you size Graylog storage for OpenBao audit logs?
Graylog's system architecture guidance sizes log storage as daily ingest multiplied by retention days, multiplied by 120 percent. For example, an illustrative 5 GB per day ingest kept for 90 days would need about 540 GB of storage under that formula. Separately, the message journal should be given 3 to 5 times daily ingest on SSDs. Measure your real ingest from a test window before you size, because HMAC-hashed audit entries from busy secrets paths can be larger than expected.
How long does a first audit logging setup take?
Duration depends on scope: the number of audit devices, whether a SIEM already exists, how many log sources feed it, and how much dashboard and alerting work is included. A single file device forwarded to an existing receiver is a much smaller job than a multi-node Graylog cluster with alerts mapped to your response process. No duration is fixed here. Ask for a timeline in the written scope, and confirm which receiver nodes, storage and access are already in place, because those dependencies often set the schedule.
What does the client need to provide for an audit logging engagement?
Plan to provide the log destinations, administrative access to the OpenBao cluster and its hosts, and access to the SIEM or log platform where events land. You also need a test window in which audit devices can be enabled, checked and rolled back without affecting production users. Confirm who owns the receiver, who approves changes to its retention, and who responds to alerts. Missing any of these usually adds time, because the work stalls waiting for access or approval.
Can our own team set up OpenBao audit logging without a partner?
Yes, many teams do, especially if they already run a log platform and have engineers comfortable with OpenBao configuration. The hard parts are less the configuration itself than the surrounding work: confirming that at least two audit devices exist so one failure does not block requests, forwarding HMAC-hashed logs correctly, sizing storage, and writing alerts people will act on. Estimate that effort honestly against your team's current workload. A partner is useful when you need the work done in a fixed scope with written deliverables and a retest.
Which compliance evidence does audit logging help produce?
Audit logs give auditors a record of who requested secrets and when, which supports access review and incident investigation. Dashboards for frameworks such as PCI DSS, HIPAA or NIST 800-53 can be built on top of the stored logs, but building them is extra work. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications. Confirm with your assessor which log fields, retention periods and review records they expect before building the pipeline.
Limits to confirm before you forward logs
Forwarding OpenBao audit logs to a SIEM depends on several moving parts: how audit devices behave on failure, which OpenBao version your parser expects, and which versions of Graylog and Wazuh you deploy. Each card below names one limit and the check that settles it for your environment.
Audit device behavior on failure
Confirm in the docs for the exact OpenBao version you run what happens when every audit device fails to write. Whether requests are blocked depends on the configuration, so test it rather than assume it. Run more than one device, then deliberately break one (for example, a full disk or an unreachable socket) in a staging cluster and watch whether client requests still succeed. Record the result against your version before production.
OpenBao docsSIEM parser and OpenBao version
Audit log field names and structure can change between OpenBao releases, so a parser written for one version may miss or misread fields on another. Ask your SIEM team which OpenBao version their parser was built against, and replay sample audit entries from your exact release through it. The current OpenBao line at the time of writing includes v2.7.1, so check that version directly rather than a minor line in general.
OpenBao releasesCompatibility matrices change
The Graylog compatibility matrix lists supported MongoDB and OpenSearch or Data Node versions for each Graylog line, and Wazuh publishes patch releases on its 4.14 line every one to two months. Both change over time. Before deployment, pull the current matrix and the current release notes, then pin versions that appear together in those sources. Repeat the check before every upgrade rather than reusing an earlier plan.
Graylog compatibility matrixSeparate sizing and HA for each platform
Wazuh (indexer, server and dashboard) and Graylog (server nodes, MongoDB and the search backend) each have their own storage, memory and high availability requirements. Neither platform's sizing is a substitute for the other's. Ask each vendor for its sizing guidance against your daily ingest and retention, and plan the message journal and index storage separately. Budget for the log volume the audit device produces during peak request periods, not only the average.
Wazuh componentsGraylog Open license fit
Graylog Open is licensed under SSPL-1.0, which the Open Source Initiative does not approve as an open source license. Some organizations have policies that accept only OSI-approved licenses, and others need legal review of SSPL terms for hosted services. Ask your legal and procurement teams to review the LICENSE file and decide whether Graylog Open fits your policy before you design around it. Wazuh is distributed under GPL-2.0 with an OpenSSL linking exception, so review it separately if your policy treats the two alike.
Graylog license fileHMAC hashing is not access control
OpenBao can HMAC-hash sensitive values in audit entries so that logs do not expose them in plain text, but hashing protects the values only from a reader who lacks the key and cannot reverse the hash. It does not restrict who can read the logs, who can change them, or what metadata such as paths, identities and timestamps reveals. Confirm which fields remain visible in your SIEM, restrict access to the audit files and the SIEM with separate roles, and protect the HMAC key as a secret.
OpenBao docsHow DeployOpen scopes and delivers OpenBao audit logging
DeployOpen plans, builds, tests, documents and supports OpenBao audit devices and logging inside your own infrastructure, so the audit trail is designed before the first production request. Each engagement starts from a written scope that names the devices, the SIEM and the evidence your compliance team needs.
How we scope
- Inventory which OpenBao clusters, namespaces and request paths need audit coverage and who consumes the logs.
- Agree the audit device types, file paths or sockets, and the number of devices needed so one failure does not block requests.
- Record the SIEM target, HMAC handling expectations, retention periods and log ownership in the written scope before work starts.
How we build
- Configure file, syslog, socket or HTTP audit devices on every node and verify each device is enabled in the same cluster state.
- Test failure behavior by disabling one device in a non-production cluster and confirming that requests still succeed with the others active.
- Forward HMAC-hashed audit entries to your SIEM, then check that sensitive values never appear in plaintext in the stored or forwarded records.
How we hand over
- Document each audit device, its configuration keys, file permissions, rotation settings and the operator steps for adding or removing one.
- Provide a runbook for investigating a gap in audit output, including how to confirm which device failed and how to restore coverage.
- Deliver a test record showing the device failure drill, SIEM ingestion checks and the evidence your auditors can review.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer, covering changes to audit devices after OpenBao upgrades.
- Ask for a quote based on the written scope. DeployOpen does not publish a price list.

