a6-plugin-http-logger

Configure the Apache APISIX http-logger plugin for batch log delivery to HTTP/HTTPS endpoints.

1|2|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/moonming/a6 --skill a6-plugin-http-logger
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: a6-plugin-http-logger
Source: https://github.com/moonming/a6/tree/main/skills/a6-plugin-http-logger
Command: npx skills add https://github.com/moonming/a6 --skill a6-plugin-http-logger

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the process of sending Apache APISIX access logs to external HTTP/HTTPS endpoints, enabling centralized logging and analysis.

Core Features & Use Cases

  • Batch Log Delivery: Efficiently sends logs in batches to reduce network overhead.
  • Customizable Log Formats: Allows defining specific fields and using NGINX variables for tailored log content.
  • Conditional Logging: Enables logging of request/response bodies based on defined expressions.
  • Use Case: Configure APISIX to send all access logs for your critical API routes to a central SIEM system like Elasticsearch or Splunk for security monitoring and auditing.

Quick Start

Configure the http-logger plugin on a new route to send logs to 'http://log-collector:8080/logs'.

Frequently Asked Questions about a6-plugin-http-logger

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send Apache APISIX access logs to an HTTP endpoint?

You can configure the APISIX http-logger plugin to batch process and deliver access logs directly to any HTTP or HTTPS endpoint for centralized logging.

Can I customize APISIX log formats using NGINX variables?

Yes, customizing log formats with NGINX variables is supported. This allows you to define specific fields and tailor the log content shipped to your external systems.

Does APISIX support logging request and response bodies conditionally?

Conditional logging of request and response bodies is supported. You can define expressions to trigger body logging based on specific route conditions.

What is the best way to forward APISIX logs to a SIEM system like Elasticsearch?

Using the http-logger plugin provides an efficient method for forwarding APISIX logs to a central SIEM system. It uses batch delivery to reduce network overhead during integration.

How does batch log delivery reduce network overhead in APISIX?

Batch log delivery reduces network overhead by grouping multiple log entries into a single request. You can tune the batch processing parameters for efficient integration with external logging systems.