Mô tả
Honeylog WordPress Plugin
Multi-file WordPress plugin that batches frontend requests into a JSON queue and flushes to Honeylog.
This client targets self-hosted and conventional managed WordPress. It is not
the complete integration for WordPress VIP, where edge cache hits do not execute
PHP and the uploads filesystem is not a durable local queue. Use
clients/wordpress-vip-s3 for VIP.
Behavior
- Tracks frontend requests (excludes wp-admin pages).
- Writes each event to a local NDJSON queue file.
- Uses an option-based lock on every queue write/mutation.
- Runs a cron-based flush every 60 seconds.
- Sends queued events in batches of up to 100.
Plugin Files
honeylog-ingestion.php: bootstrap and WordPress hooksincludes/honeylog-constants.php: constants + option sanitizersincludes/honeylog-batching-utils.php: queue file lock, enqueue/snapshot/requeue/flushincludes/honeylog-request-utils.php: request capture + HTTP batch senderincludes/honeylog-settings.php: admin settings pageincludes/honeylog-debug.php: persistent debug log + last status/error helpers
Settings
Go to Settings -> Honeylog:
TokenSite Domain(optional)
The ingestion endpoint is fixed to https://api.honeylog.io/events.
Debugging
Debug log is written to:
wp-content/uploads/honeylog-ingestion/debug.logwhen available- fallback:
wp-content/honeylog-ingestion-debug.log
Đánh giá
Không có đánh giá nào cho plugin này.
Người đóng góp & Lập trình viên
“Honeylog” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Honeylog” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
