Aidbox
Aidbox.Dev
Aidbox.Cloud
Aidbox.One
Fhirbase
Search…
Getting started
Getting Started
Installation & Configuration
Features
Licensing and Support
Versioning & Release Notes
FAQ
Aidbox configuration
Aidbox project
API constructor (beta)
Setup SMTP provider
Zen Configuration
API
FHIR API
REST API
Bulk API
Batch Upsert
Batch/Transaction
Cache
ETAG support
Reactive API
Sequence API
Encryption API
Compartments API
GraphQL API
RPC API
Aidbox UI
Profiling and validation
Profiling and validation overview
Profiling with zen-lang
Asynchronous resource validation
Profiling with AidboxProfile
Terminology
Aidbox terminology module overview
Import external (not-present) terminologies
Concept
CodeSystem
ValueSet
$translate on ConceptMap
Terminology Tutorials
FHIR Implementation Guides
🎓
HL7 FHIR Da Vinci PDex Plan Net IG
App development guides
Tutorials
Administration
Receive logs from your app
X-Audit header
Health Check
$matcho
$to-format
Security & Access Control
Overview
Authentication Flows
Access Control
Multitenancy
Storage
Archiving
Database
AWS S3
GCP Cloud Storage
Azure Blob Storage
Core Modules
Entities & Attributes
$json-schema
Monitoring
Logging & Audit
Modules
HL7 v2 Integration
FHIR Resources
Custom Resources
Aidbox Search
First-Class Extensions
Multibox
Multibox box manager API
Plan API
Plan API Overview
Patient Access API
Integrations
Analytics
Audit
Authentication
Tools
Mappings
Aidbox SDK
Contact us
Powered By
GitBook
X-Audit header
Add custom fields to logs
If you want to add more information to logs, you can use X-Audit header in the format
base64(json)
— all properties from this json will be added to
w/req
and
w/resp
logs.
1
POST /Operation
2
X-Audit
:
eyJyb2xlIjogIm51cnNlIn0=
3
# base64({"role": "nurse"})
4
​
5
...
body
6
​
7
# in logs
8
{
ev
:
'w/req'
,
...
..
,
role
:
'nurse'
}
9
{
ev
:
'w/resp'
,
...
..
,
role
:
'nurse'
}
Copied!
​
App development guides - Previous
Receive logs from your app
Next
Health Check
Last modified
2yr ago
Copy link