POST Request Guide
Set up real-time log streaming from your DayZ server
Overview
POST requests allow your DayZ server to send log events in real-time to DetailedLogs for immediate processing and analysis.
Plan Requirement
POST request streaming is available for Gold and Platinum plans only. Free plan users cannot enable this feature.
Setup Instructions
Follow these steps to configure POST request streaming
Create or Edit an Instance
Navigate to your instances page and either create a new instance or edit an existing one.
Navigation:
Instances → Create New / Edit Existing
Configure Stream Settings
In the instance edit page, you'll find the "Stream Settings" section. Configure the following:
Stream Address (IP Address)
Enter the public IP address of your DayZ server. This is the IP address that will be whitelisted to accept POST requests.
Example:
192.168.1.100
⚠️ Important: This must match the IP address that your DayZ server uses to send requests. If your server is behind a proxy or load balancer, use the proxy's IP.
Stream Key (API Key)
Generate or enter a 32-character stream key. This key authenticates requests from your server.
Example:
a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6
You can use the "Generate Stream Key" button to create a secure random key automatically.
Enable POST Requests
Check the "Accept POST requests" checkbox to enable real-time streaming. This option is only available for Gold and Platinum plan users.
Requirements:
- Both Stream Address and Stream Key must be set
- You must be on a Gold or Platinum plan
Configure Your DayZ Server
Configure your DayZ server's DetailedLogs plugin to send POST requests to DetailedLogs.
Network Requirements
Ensure that port 443 (HTTPS) is open on your DayZ server machine's firewall to allow outbound POST requests to DetailedLogs.
⚠️ Important: Port 443 must be open for outbound connections from your DayZ server to send POST data.
Endpoint URL
https://dzloggy.com/post
Required Headers
X-Api-Key:
Your Stream Key (32 characters)
X-Session-Id:
Unique session identifier (recommended)
⚠️ Note: The X-Session-Id header is optional but recommended. Without it, POST requests will be stored but no log files will be created.
Example Configuration
ApiConfig.json:
{
"url": "https://dzloggy.com/post",
"api_key": "YOUR_STREAM_KEY_HERE"
}
How It Works
Understanding the POST request flow
1. Event Occurs
DayZ server generates a log event
2. POST Request
Server sends event to DetailedLogs
3. Processing
Event is queued and processed
4. Available
Log appears in your instance
Troubleshooting
Common issues and solutions
No logs appearing
Verify Configuration
Use the diagnostic endpoint to check your instance configuration:
Sign in to access diagnostics.
"Request origin not allowed" error
IP Address Mismatch
The IP address sending the request must match the configured Stream Address. Common causes:
- Server is behind a proxy or load balancer
- IP address changed after configuration
- Cache not cleared after updating stream_address
Solution: Update the Stream Address to match your server's current public IP, or clear the cache by updating the instance.
"Invalid API key" error
Key Mismatch
The X-Api-Key header must exactly match your instance's Stream Key.
Solution: Verify the Stream Key in your instance settings matches the key configured in your DayZ server's DetailedLogs plugin.