Why OpenSearch fits healthcare search and audit logging
A health system or health tech team that must search clinical documents and also prove who viewed patient records needs one platform that handles both jobs under its own controls. OpenSearch fits this combination because it is Apache 2.0 software that you can run in your own cloud accounts, data centers or air-gapped networks, with the Security plugin supplying role-based access control, document-level and field-level security, field masking, audit logs and TLS for node and client traffic. The licence and the absence of a paid edition in the project FAQ mean the decision rests on architecture and operations, not on feature tiers, and the software can stay inside the boundary your compliance team already reviews.
A generic deployment usually stops at a working search index with a few shared roles. For ePHI, the work starts with the data model. Decide which fields carry patient identifiers, which roles may see them unmasked, and whether a clinician's search should return only documents from their care team. Field masking and document-level security can enforce those rules inside the cluster, but they must be designed per index and tested with real role mappings. Audit logging needs the same care: decide which events (authentication, failed searches, role changes, and access to sensitive indices) are written, where they go, and who can alter them. Confirm the exact audit categories and settings for your OpenSearch version in the Security plugin documentation before you commit to a logging design.
Compliance ownership does not move to the software. The HIPAA Security Rule applies to covered entities and business associates for the electronic protected health information they handle, and OpenSearch does not carry HIPAA compliance or certification on its own. Your organization, and any partner that signs a business associate agreement with you, must assess how the platform's controls map to the Security Rule's technical safeguards, and document the reasoning behind each addressable choice. NIST SP 800-66 Rev. 2 is a useful reference for that mapping. Ask your partner to deliver a control-by-control evidence pack that your own compliance team and external auditor can review.
Which HIPAA Security Rule requirements shape the OpenSearch build
This table maps the HIPAA Security Rule requirements most likely to affect an OpenSearch build to the cluster, node roles and log data they touch. Read each row as a design question to settle before the cluster is provisioned, not as a compliance finding, since the rule is applied to your whole organization.
| Requirement | What it asks for | What it means for the OpenSearch cluster |
|---|---|---|
| Scope (45 CFR 164.302) | Covered entities and business associates must protect all ePHI they create, receive, maintain or transmit | Any index holding patient identifiers, clinical text or access logs that reference patients is in scope, including copies in dev and test clusters |
| Unique user identification (164.312(a)(2)(i), required) | Each user has a unique identifier tracked across systems | Use the Security plugin with an SSO or directory backend so no shared accounts query patient data; confirm how service accounts for ingest are named and owned |
| Emergency access procedure (164.312(a)(2)(ii), required) | A documented way to reach ePHI during an emergency | Define a break-glass admin role with its own logging and review; keep the procedure in the runbook, not only in the cluster |
| Automatic logoff (164.312(a)(2)(iii), addressable) | Sessions end after inactivity, or an equivalent measure is documented | Set session and Dashboards timeouts, or document why a different control is reasonable and what it is |
| Encryption and decryption (164.312(a)(2)(iv), addressable) | Encrypt ePHI where reasonable and appropriate, or document an equivalent | Decide on encryption at rest for data volumes and snapshot repositories; TLS for node and client traffic is a separate, usually expected control |
| Audit controls (164.312(b), standard) | Record and examine activity in systems that contain ePHI | Enable audit logs for authentication, index access and admin changes, and send them to storage the search admins cannot edit |
| Business associate contract (164.314(a)(2)(i)) | Vendors and subcontractors handling ePHI must meet the rule and report incidents | If DeployOpen or another partner operates the cluster, the contract must cover access to ePHI, subcontractors and incident reporting |
| Addressable reasoning (164.306(d)) | For each addressable specification, assess it, and if not implemented, document why and adopt an equivalent | Keep a written decision record per addressable item, reviewed when the cluster design changes |
| Specification count (Appendix A to Subpart C) | 18 standards and 36 implementation specifications: 14 required and 22 addressable | Treat the 22 addressable items as design decisions to record, not optional features to skip |
Security Plugin settings that protect patient identifiers
Patient identifiers in OpenSearch are protected by a chain of settings, not one switch. Identity federation decides who gets in, role mapping decides what they can see, and document and field controls decide which records and identifiers reach each query. Audit logging and TLS then make those decisions reviewable and keep the traffic protected.
Hospital identity provider login
Connect the Security plugin to the hospital identity provider through SAML or OpenID Connect so clinicians and staff sign in with the credentials already governed by HR and joiner-mover-leaver processes. Confirm which claims or assertions carry the group membership you need, and test that a disabled account in the identity provider stops working in OpenSearch Dashboards. Decide whether local accounts remain for break-glass use and who holds them.
Security docsDirectory group mapping to roles
Map Active Directory or LDAP groups to OpenSearch roles so that a ward, clinic or research team receives the index access its work requires. Keep mappings group-based rather than per user, and review nested group membership before go-live, since an unexpected parent group can grant broad read access. Ask the hospital identity team who owns each group and how often memberships are recertified.
Document and field security for identifiers
Use document-level security to limit which patient records a role can search, for example only the encounters of a clinical unit. Pair it with field-level security so that name, date of birth, medical record number and address fields are hidden from roles that only need diagnosis codes or aggregate counts. Test each role with real query patterns, because a wildcard search or an aggregation can expose field values that a dashboard view hides.
Field masking for analysts
Field masking lets analysts query a patient field, such as a medical record number, without seeing its raw value. Masked values still support matching and grouping, which keeps cohort counts and trend work possible while the underlying identifier stays hidden. Confirm with your privacy office which fields qualify as identifiers in your jurisdiction, and check that masked fields do not appear in saved searches, exports or alert notifications.
Audit logs for reads and writes
Enable audit logging for both successful and failed reads and writes on indices holding clinical documents, so that a review can answer who viewed which patient record and when. Decide where audit output goes, how long it is kept and who can change its configuration, because an administrator who can disable auditing undermines the evidence. Check that the logged fields include the authenticated user and the index, and that they do not copy full patient content into the audit trail.
TLS and user impersonation for support
Require TLS for node-to-node and client traffic, so clinical documents are encrypted between cluster nodes, Dashboards and ingest pipelines. Restrict user impersonation to a small set of named support roles, and make sure impersonated sessions appear in the audit trail under the real operator's identity. Confirm certificate rotation procedures before the first certificate expires, since an expired internal certificate can take a clinical search service offline.
Clinical document search by audience and data sensitivity
Clinicians need the fastest path to the records of patients in their care, and the access model should reflect that relationship rather than a blanket grant to all clinical staff. Most designs begin by mapping care teams to roles and to index patterns, so that a search for a patient returns only the documents that team is authorized to read. Document-level security can restrict which documents a role matches, and field-level security can hide fields such as dates of birth or contact details from roles that only need the clinical narrative.
- Care-team roles: Define roles per unit or care team and bind them to users through your identity provider groups, not individual grants.
- Document filters: Use document-level security queries keyed to an assignment or encounter attribute so a clinician sees only patients assigned to them.
- Field restrictions: Hide direct identifiers from roles that only need clinical content, and mask them where a partial value is enough.
- Break-glass access: Plan a documented emergency path with extra logging and review, instead of widening everyday roles.
- Audit trail: Enable audit logs for reads and searches so the team can show who viewed which record.
Confirm with your clinical informatics and privacy teams how care relationships are recorded in your source systems, because the document filters are only as accurate as that data.",
Revenue cycle staff, such as billing, coding and claims teams, usually need encounter-level and financial fields but not full clinical notes. Their search needs differ from clinicians, so they should work from a separate index or a separate view of the data, with clinical narrative fields excluded at the role level. Identifiers needed to match claims can be kept while diagnosis detail beyond coding needs is removed.
- Separate index or alias: Serve billing data from its own index or alias rather than from the clinical index, so role rules stay simple.
- Field exclusions: Exclude free-text clinical notes and sensitive categories that coding work does not need.
- Masked identifiers: Apply field masking to medical record numbers or dates where matching can use a hashed or partial value.
- Scoped roles: Limit the role to the payer, facility or department the team works on, using document filters where the data allows.
- Review of exports: Restrict export and download permissions, and log them.
Ask your revenue cycle leads which fields each workflow truly uses, and confirm with your compliance team how minimum necessary use is documented for these roles.
Researchers usually need de-identified or limited data sets rather than live patient records. The safest pattern keeps identifiable data out of the research cluster or tenant entirely, and builds a derived index with identifiers removed or replaced by study keys. Where re-identification risk remains, access should be governed by an approved protocol and a named data steward, not by the general research group membership.
- Derived indices: Build research indices from an approved extraction process that drops or pseudonymizes direct identifiers.
- Study-scoped roles: Grant read access per approved study, with an expiry date reviewed by the data steward.
- No identifier fields: Make sure the research role has no permission to read fields that could be joined back to patients.
- Dashboards separation: Give each study its own Dashboards tenant so saved objects and visualizations do not leak across projects.
- Logging and review: Log queries and exports, and review them against approved protocols on a set schedule.
Confirm with your ethics board and privacy office which data categories and linkage methods the approval permits, since those decisions determine what the index may contain.
Support and platform engineers keep the cluster healthy, but they do not need to read patient documents to do that work. Operational roles should cover cluster health, index management, snapshots and logs, and should exclude document content entirely. Where engineers must troubleshoot a search result, the workflow should use a controlled, time-limited elevation that is logged, not a standing role with document access.
- Cluster-level roles: Grant monitoring and index administration permissions without document read permissions on clinical indices.
- Impersonation limits: If user impersonation is used for testing, restrict which identities can be impersonated and log each use.
- Admin separation: Keep security configuration changes with a separate team from day-to-day operations.
- Time-limited elevation: Require a ticket and an approval for temporary document access, with automatic expiry.
- Audit log protection: Restrict who can read or change audit logs, so engineers cannot edit their own activity trail.
Confirm with your security team which admin actions must be logged and reviewed, and how long audit records are retained under your policies.
OpenSearch Dashboards tenants separate saved objects such as dashboards, visualizations and index patterns, so one workload's saved content is not visible to another. Tenants help keep a clinical operations dashboard apart from a revenue cycle view or a research workspace. Tenants do not replace document-level security: data access is still controlled by roles on the indices, so tenant separation and index permissions must be designed together.
- Tenant per workload: Create separate tenants for clinical operations, revenue cycle and each research study.
- Role mapping: Map each role to the tenants it may use, and to read or write permissions on those tenants.
- Index permissions still apply: Confirm that a user in a tenant cannot query an index outside their roles through a saved visualization.
- Shared content review: Review any object shared across tenants for embedded identifiers or sensitive field names.
- Configuration tracking: Keep tenant and role definitions under version control so changes can be reviewed.
Verify tenant behavior in a test cluster with synthetic patient data before relying on it, and confirm the Dashboards version and its tenant features against the current OpenSearch documentation.
How logins, ingest and audit trails flow through an on-premises cluster
The flow starts at clinical source systems and EHR integrations, which send events to ingest nodes inside a protected network zone. Dedicated cluster manager and data nodes hold the indices, and clinicians reach Dashboards only after signing in through the hospital identity provider. Audit logs and snapshots leave the cluster for separately controlled storage. Check that every crossing of the zone boundary is encrypted with TLS, that the identity provider's role mappings match the document-level security rules, and that any vendor operating part of the stack sits on the business associate side of the line.
Data, login and audit paths across the hospital trust boundary and the vendor boundary.
Rollout phases for a clinical OpenSearch deployment
This sequence moves a hospital from data classification and design to a controlled pilot and wider rollout, so that access, audit logging and patient identifier protection are verified before clinical teams depend on the cluster.
Classify data and feed the risk analysis
The privacy or compliance lead and clinical informatics agree which log sources, clinical documents and patient identifiers the cluster will hold, and mark each as ePHI or not. This classification becomes the input to the HIPAA risk analysis the covered entity or business associate must already maintain under the Security Rule. Done means every planned index has a data owner, a sensitivity label and a documented reason for its retention period.
Design the reference architecture on hospital servers
The infrastructure team and DeployOpen draft the topology for servers, storage and networks the hospital controls, including node roles, dedicated cluster manager nodes, replicas on separate nodes and shard allocation awareness. Confirm the installation method (Helm, the OpenSearch Kubernetes Operator, packages or Ansible) and the version maintenance policy before the build starts, since the OpenSearch releases page sets how long each version receives fixes. Done means a reviewed diagram and a signed-off version and install choice.
Map identity providers and role design
Security engineers connect the Security plugin to the hospital's directory through one of the supported backends (SAML, OpenID Connect, Active Directory, LDAP, Kerberos or JSON Web Token) and map care roles to OpenSearch roles. Document-level and field-level security and field masking are designed here so that care teams see only records they need to know about, and administrators and auditors receive separate roles. Done means a role matrix reviewed by the privacy office and a test account for each role.
Load only test data into the build
Until the controls are verified, the team indexes synthetic or de-identified records that mirror the real document shapes and identifier fields. This lets engineers test field masking, document-level filters and TLS for node and client traffic without exposing patient data to a system still under review. Done means a test dataset manifest and a record of which controls were exercised against it.
Validate audit logs and access tests
The team confirms that the audit logs capture authentication, reads of identifier fields, administrative changes and denied requests, and that those logs are shipped to storage the hospital's security team can review. Testers attempt access from roles that should be denied, including impersonation and direct API calls, and record the results. Done means an evidence pack showing each test, its expected and actual outcome, and the retention location of the logs.
Run a controlled pilot in one care area
A single care area with a named clinical owner uses the cluster on real, approved workflows such as clinical document search, under monitored access. The team reviews access patterns, failed logins, search relevance and any unexpected data exposure at agreed checkpoints, and records changes to roles or masking rules. Done means a pilot sign-off from the clinical owner, the privacy officer and the security lead, with open defects closed or accepted in writing.
Expand rollout and hand over runbooks
After the pilot, the hospital extends access to additional care areas in stages, repeating the role review for each one. Operations staff receive runbooks for backups, snapshot restores, certificate rotation, upgrades and incident response, and the business associate contract terms cover any vendor support. Done means each runbook has been exercised once by the team that will own it and each care area has a documented role approval.
Compliance considerations that go beyond the cluster
A healthy OpenSearch cluster does not settle a healthcare compliance question on its own. The rules that apply to a hospital or health technology company set the logging, access and hosting requirements the cluster must meet, and they are judged on the whole program, not the software. The cards below cover the US Security Rule, the enforcement and certification picture, optional assessments and the EU and FDA rules that apply in some cases.
HIPAA Security Rule scope
The Security Rule in 45 CFR Part 164 Subpart C applies to covered entities and their business associates for all electronic protected health information they create, receive, maintain or transmit. A cluster that stores patient identifiers, clinical notes or access logs falls inside that scope. Map which indices hold ePHI, confirm which of your systems and vendors touch them, and check that the business associate contract requires the vendor to follow the Security Rule and report incidents.
- Implementation specifications
- 36
No HIPAA certification exists
HHS states that no Security Rule standard requires an entity to certify compliance and that it does not endorse or recognize private certifications. Any vendor or consultant offering a HIPAA certification is selling an attestation that does not carry federal weight. Ask what evidence a partner produces, such as documented risk analysis, configuration records and audit log reviews, rather than accepting a badge as proof.
HHS certification FAQProposed Security Rule revision
HHS proposed a major Security Rule revision on 6 January 2025, and as of October 2026 no final rule has been published. The Unified Agenda projects final action for July 2027. Design the OpenSearch controls, including encryption, access reviews and audit retention, so they can be shown against the current rule and adjusted if the final text adds requirements. Track the rulemaking entry before you lock a control baseline.
Proposed rule textOCR enforcement and penalties
The HHS Office for Civil Rights enforces the Security Rule through complaint investigations, compliance reviews and audits. Its 2024 to 2025 audits review 50 covered entities and business associates on provisions most relevant to hacking and ransomware, so log retention and access control evidence will be requested. Penalties are inflation adjusted per violation and per calendar year, so ask counsel to confirm the current table before budgeting remediation.
- Calendar-year penalty cap
- $2,190,294
HITRUST as an optional assessment
HITRUST is a private assessment framework that some payers and partners request, and it is not a legal requirement. The e1 and i1 assessments are valid for one year and r2 for two years, so plan renewal cost and evidence collection on that cycle. Confirm with the customer whether they accept a HITRUST report, which version of the CSF applies, and whether the scope includes the OpenSearch cluster and its access paths.
HITRUST assessment handbookNIS2 and GDPR for EU providers
NIS2 Annex I lists health as a sector of high criticality, covering healthcare providers, certain laboratories and medical device manufacturers. Under GDPR Articles 32 and 34, the CNIL fined Hopital Prive de la Loire EUR 500,000 on 3 September 2026 for external access to patient records without VPN or multi-factor authentication and for access controls that ignored the care team's need to know. For an OpenSearch cluster holding patient data in the EU, enforce MFA and VPN for remote access and restrict document-level access by role.
21 CFR Part 11 for regulated records
Where OpenSearch indexes electronic records that support FDA-regulated work, such as clinical trial or manufacturing records, 21 CFR Part 11 sets requirements for electronic records, electronic signatures, audit trails and access controls. Search and dashboards do not replace the validated system of record. Confirm with quality and regulatory teams which copies are regulated, how audit trails are preserved and whether the search index is treated as a controlled copy.
Part 11 textQuestions hospitals ask before hiring an OpenSearch partner
What drives the cost of an OpenSearch healthcare engagement?
Cost follows the written scope, and the biggest drivers are the number of log and data sources, how many identity providers and roles must be integrated, and how much clinical data needs classification before any index is designed. Field masking and document-level security rules for patient identifiers add design and testing work, as does any requirement for on-premises or air-gapped hosting. Software has no license fee under Apache 2.0, so the quote covers people and infrastructure: DeployOpen's labor for planning, build, testing and documentation, plus the servers, storage and network you pay for in your own environment. Ask for the quote to list one-time work separately from recurring support, upgrades and retainers, and to name each source and its owner.
How long does an OpenSearch healthcare project usually take?
Duration depends on the same factors as cost: source count, identity integration, data classification and the number of approval gates in your change process. Projects with a narrow first use case, such as audit logging from one system, move faster than a clinical document search that must respect care-team access rules. Hosting constraints also matter, because procurement and change windows in hospital data centers can take longer than the technical build. Ask for a timeline in the written scope that separates discovery, build, verification and cutover, and that names the client decisions each phase depends on. This page does not set a duration; your scope and environment determine it.
What does our team have to supply before the work starts?
Several named people must be available, because most delays come from waiting on decisions rather than on the build. You will need a security owner who signs off on access and audit logging design, an identity provider administrator for SAML, OpenID Connect or LDAP integration, and data owners who can say which fields are patient identifiers and which care teams need which records. Your change board must approve production changes, and your infrastructure team must provide hosts, storage, DNS, certificates and network paths. Ask the partner to produce a responsibility matrix at the start so each item has one owner and a due date.
Can our internal staff run OpenSearch after the project?
Yes, if the team has Linux, container or Kubernetes operations skills and someone owns the cluster day to day. Running OpenSearch involves cluster health monitoring, disk and memory protections, snapshot schedules, certificate rotation and upgrades on the regular release cadence. OpenSearch documents dedicated cluster manager nodes, replicas on separate nodes and shard allocation awareness for availability, and those settings need ongoing review. Many hospitals keep operations in-house and buy a retainer for upgrades, testing and periodic reviews. Before deciding, check whether your staff have run a multi-node cluster under change control, and whether they have someone trained on the Security plugin's roles and audit configuration.
Does Apache 2.0 licensing mean we pay nothing for OpenSearch?
The OpenSearch software is released under the Apache License, Version 2.0, and the OpenSearch FAQ does not describe any paid edition of the software. That means no per-node or per-user license fee for the core product, its Security plugin or Dashboards. Costs still exist: infrastructure, staff time, implementation and support services, and any third-party tools your security team chooses. Confirm the license terms for each plugin and any external connector you add, and ask your legal team to review your own usage. The Apache license does not decide whether the platform meets HIPAA, which is a separate question about your safeguards and documentation.
How does a business associate contract affect an OpenSearch partner?
If a partner will create, receive, maintain or transmit electronic protected health information on your behalf, HIPAA generally requires a business associate contract under 45 CFR 164.314(a)(2)(i). That contract must require the partner to comply with the Security Rule, flow the same terms down to subcontractors that handle ePHI, and report security incidents, including breaches of unsecured PHI. Ask whether the engagement will give the partner access to production logs, patient data or credentials, and whether it will be done only in your environment. Your legal and privacy teams should review the contract before any system access. A signed contract is a legal requirement, not a certification.
What should we check first before choosing a partner?
Start with the evidence you will need during an audit or OCR review, then test whether a partner can produce it. Ask for examples of how they configure identity providers, role-based access, document-level and field-level security, field masking and audit logs, along with the test cases they would run. Confirm they will work inside your cloud accounts, data centers or air-gapped networks, and that all configuration and documentation stays under your control. Ask how they handle the Security plugin's audit settings and how they will document each addressable implementation specification and the reason for each decision. Finally, confirm how the partner would support upgrades, since OpenSearch versions move through maintenance on a published schedule.
Does a partner certification or HIPAA certificate prove we are compliant?
No. HHS states that no Security Rule standard requires an entity to certify compliance, and that HHS does not endorse or recognize private certifications. Those certifications also do not prevent HHS from later finding a violation. The HHS Office for Civil Rights enforces the rule through complaints, compliance reviews and audits, so your records of risk analysis, configuration and access decisions matter most. The NIST SP 800-66 Rev. 2 guide gives sample questions for each standard and is a useful checklist for your own review, although HHS lists it as informational rather than binding. Ask any partner to explain how they support evidence collection without claiming a certification they do not hold.
What to ask a partner before a healthcare OpenSearch project
Ask for a fixed-scope statement in writing before any work starts. For a healthcare cluster, that statement should name the indices or log sources in scope, the data classes each one holds (for example, identifiers, clinical text, access logs or nothing identifiable), the roles that will receive each class, and the hosting location. Ask the partner to list which Security plugin roles, document-level security rules and field masks they will build, and which of those the client's own team must approve. If the partner cannot say which fields are masked for which roles, the scope is not finished.
Ask how audit logs are produced, where they are stored, how long they are kept and who reviews them. The OpenSearch Security plugin provides audit logs, but the settings that decide what is recorded, the retention period and the review cadence are choices the client's compliance team must own. Request the audit configuration as a file, the retention period as a written decision, and a named review step. HIPAA's technical safeguards also require unique user identification and an emergency access procedure, so ask how the partner will show both are in place. Check the current HHS guidance on the HIPAA Security Rule with counsel, since a proposed revision was published and has not been finalized.
Ask how upgrades will follow the OpenSearch maintenance policy, and get the target version and the date each version leaves maintenance in writing, so the client can plan patch windows. Ask for a backup and restore test that the client witnesses, with a recorded recovery time and the data restored, not only a snapshot job that reports success. Finally, if the partner will touch electronic protected health information in any way, including installing, troubleshooting or viewing data, ask whether it will sign a business associate agreement that meets 45 CFR 164.314(a)(2)(i). Ask to see that agreement before the statement of work is signed.
How DeployOpen scopes and delivers healthcare OpenSearch
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For healthcare OpenSearch, that means agreeing in writing which data, roles, audit events and hosting constraints the deployment must meet before any build work starts.
How we scope
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
- The written scope lists which log sources, search indices and patient-identifier fields the cluster will hold and who needs access to each.
- Scope also records the hosting location, network paths, identity provider and audit log retention your compliance team will review.
How we build
- We deploy the cluster in your cloud accounts, data centers or air-gapped network using the installation method your team has approved.
- We configure the Security plugin with your identity backend, TLS for node and client traffic, roles, document-level and field masking rules.
- We test access rules with representative care-team and administrator accounts, and document the results for your security and compliance reviewers.
How we hand over
- You receive configuration, role mappings, audit logging settings and runbooks written for your own operations and compliance staff.
- Handover includes backup and snapshot procedures, restore tests and a record of which controls map to which HIPAA Security Rule standards.
- We document open items and the decisions your team must still confirm, such as retention periods set by your privacy office.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Maintenance covers OpenSearch version upgrades, reviewing security patches and rechecking access rules after organizational changes.
- Retainer terms, response expectations and included testing are agreed in writing, and a quote follows from that written scope.
Sources and further reading
- 45 CFR Part 164 Subpart C, Security Standards for the Protection of ePHI ↗
- Appendix A to Subpart C of Part 164, Security Standards: Matrix ↗
- HHS FAQ 2003: Are we required to certify our organization's compliance with the standards? ↗
- NIST SP 800-66 Rev. 2, Implementing the HIPAA Security Rule ↗
- OpenSearch security ↗

