{"repo":"safernandez666/Kong-API-Manager","free":true,"listed":false,"github":"https://github.com/safernandez666/Kong-API-Manager","clone":"git clone https://github.com/safernandez666/Kong-API-Manager.git","description":"Kong API Manager with Prometheus And Graylog","language":"Python","stars":90,"topics":["grafana","prometheus","api","docker","docker-compose","kong","konga","siem","splunk","security"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"API Manager Stack Run Kong Server + Konga + Prometheus + Grafana + API & DDBB + Graylog Clone the proyect and run docker-compose up Running the stack Containers Check the name of the containers for future configurations. Architecture Create Service on Kong curl -i -X POST \\ --url http://localhost:8001/services/ \\ --data 'name=MyAPI' \\ --data 'url=http://api:5000' Test curl -i http://localhost:8001/services/MyAPI Create Route on the Service curl -i -X POST http://localhost:8001/services/MyAPI/routes \\ --data 'paths[]=/' \\ --data name=main Test curl -i -X GET http://localhost:8000/request Konga GUI Enter on http://localhost:1337 I create the Username and Password on kus.js. It's important change the Password. Create the connection Add plug-in and send logs to Splunk Let's add some security. For this, a Customer is necessary, add an Authentication method and then associate it with the route. Create mi Customer: santiago Generate my API KEY My API KEY On the route, add the use of the API Key. Try with Postman or Command Line. curl -X GET \\ 'http://localhost:8000' \\ -H 'apikey: fwASbEngZ4zB609S7WASDt0X64R5sdkV' Graylog Enter on http://localhost:9000 with Username: admin and Password: admin Create the Data Input on port 1514 to receive the Kong's logs. I create a panel, to visualize some data. You can create yours. In the proyecto you have the dashboard to import. You can post the Plugin on Kong with: curl -X POST http://localhost:8001/services/MyAPI/plugins --data \"name=tcp-log\" -","default_branch":null,"files":null,"tree":[],"storefront":"/r/safernandez666","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/safernandez666/Kong-API-Manager/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}