Skip to content

TheBear90/Konga-API-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Manager Stack

Run Kong Server + Konga + Prometheus + API & DDBB + Splunk

Clone the proyect and run docker-compose up

git clone https://github.com/safernandez666/SOCLess.git && cd SOCLess
chmod +x kong-start.sh
sh kong-start.sh

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

Splunk

Enter on http://localhost:8888 with Username: admin and Password: password

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.

Prometheus + Grafana

Prometheus to store the data and Grafana to visualize it.

Add the plugin.

Ingress on Grafana on http://localhost:3000 with Username: admin and Password: admin

Import data from prometheus. The docker is prometheus on port 9090.

Import the Dashboard.

Load the JSON.

Enjoy the metrics.

About

Kong API Manager with Prometheus And Graylog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 52.4%
  • Shell 42.6%
  • JavaScript 2.7%
  • Dockerfile 2.3%