Skip to content

About

Kong APIM plugin to log HTTP request and response payload into file.

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

kong-plugin-http-payload-file-log

TODO

Plugin in action

Requirements

  • Docker & Docker compose
  • curl

Description

Example will start a kong instance and an example api called foggy.

This this example is used as developer environment.

When js plugin change kong should be restarted.

Configuration

Run

docker-compose up -d

Example

curl --request GET \
  --url http://localhost:9000/foggy/api/user

Response should be something like:

{
	"name": "Thomas Sanchez",
	"birthday": "Tue Mar 26 00:24:39 UTC 1974",
	"email": "ipue32@gmail.com",
	"mobile": "0692800513",
	"iban": "MT31QWDG66590wxenqcL5u5dtlUrF74",
	"bic": "LQVXVWY6"
}

TODO

  • implement http payload file logging
  • create an integration example (use it as dev env)
  • write readme documentation
  • define response and request paylaod log size limit
  • support http payload log anonymization
  • benchmarking request time
  • support content encodings

About

Kong APIM plugin to log HTTP request and response payload into file.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages