By on January 27, 2016

Better API Management with the Loggly Plugin for Kong

← Back to Blog Home

Screen Shot 2016-01-26 at 3.49.03 PM

Mashape is excited to announce our partnership with Loggly through direct integration with Kong, the most popular open-source API management platform. Kong features a plugin-oriented architecture which allows you to set up authentication, transformations, security, and manage traffic controls. And now with Loggly’s plugin, you can log requests and response data.

Loggly is a log management tool that collects your log data using existing open standards like syslog and HTTP; therefore, you no longer have to install a heavy, proprietary collection on every machine. Loggly provides real-time, navigable summaries of log data it automatically parses in addition to powerful search, filtering, and analysis capabilities.

Through Kong’s powerful plugin system the Loggly plugin can log request/response data from your Kong nodes directly to Loggly’s service. Now you can easily answer questions such as:

Performance Monitoring

“How is my API stack performing? Is my API any slower than expected? Are transactions completing successfully?”

Alert & Report on Errors

“How can I see the top errors or exceptions affecting my API? How will I know when there is a big spike in errors?”

Trace Requests

“Why did a high-value API call fail? What part of the request had a problem?”


Getting Started

The Loggly Plugin can capture all API requests and responses. Follow these steps to enable the plugin:

1.  Enable the plugin by running this request

Screen Shot 2016-01-26 at 2.37.54 PM

2.  Verify Loggly receives the logs.


3.   You can  review the supported configurations for more customization

Log Format

Every request will be transmitted to Loggly in SYSLOG standard, with the message component in this JSON format.

Congratulations, the Loggly plugin has been properly configured! Developers now have the flexibility of defining severity and logging levels for their APIs and Microservices


The popularity of Loggly made it a natural fit for an early Kong plugin. Being able to quickly pinpoint the source and impact of issues in an emergency is mission critical. Loggly is excited to be partnering with Kong to offer developers easier, better API management.

If you’re in San Francisco, check out the Loggly MeetUp launch party – Jan 28th at 6:30pm.

Try the plugin today and experience the best of Kong and Loggly.


Share Post: