a6-plugin-http-logger

Configure the APISIX http-logger plugin via a6 to ship batched logs to HTTP endpoints.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates configuration of the APISIX http-logger plugin through the a6 CLI to reliably push logs to HTTP/HTTPS endpoints, enabling batched delivery and consistent logging.

Core Features & Use Cases

  • Batch log delivery with retry and batching configuration
  • Custom log formats using NGInx variables and conditional body logging
  • Seamless integration with external logging backends (Elasticsearch, Loki, etc.)

Quick Start

Configure and deploy the http-logger plugin by creating a route with the http-logger plugin enabled via a6.

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 configure APISIX http-logger to batch and ship access logs to an HTTP endpoint?

To batch and ship access logs to an HTTP endpoint, you create an APISIX route with the http-logger plugin enabled via the a6 CLI, defining URI, batch parameters, and timeouts.

Can I customize the log format for APISIX http-logger using Nginx variables?

Yes, you can customize the APISIX http-logger log format using Nginx variables and apply conditional body logging to control exactly what access log data is sent to your external HTTP endpoints.

Does the APISIX http-logger plugin support sending batched logs to external collectors like Elasticsearch or Loki?

Yes, APISIX http-logger supports sending batched logs to external logging backends like Elasticsearch or Loki by configuring the target HTTP endpoint URI and batch delivery settings via a6.

What HTTP endpoint parameters can I set when configuring http-logger through a6 config sync?

When configuring http-logger through a6 config sync, you can set URI, batch parameters, SSL settings, timeouts, and log_format to reliably push logs to HTTP or HTTPS endpoints.

How does a6 automate APISIX http-logger plugin configuration for external log collectors?

The a6 CLI automates APISIX http-logger plugin configuration by applying route and config sync workflows, enabling batched log delivery with retry configurations to external HTTP endpoints.