All Projects → piomin → Spring Boot Logging

piomin / Spring Boot Logging

A library for logging HTTP request/response for Spring Boot application and integration with Elastic Stack

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Spring Boot Logging

Spring Boot Microservice Eureka Zuul Docker
Spring-Boot rest microservices using Eureka, Zuul, Docker. Monitoring with logstash, logback, elasticsearch, kibana
Stars: ✭ 45 (-51.09%)
Mutual labels:  logstash, spring-boot, logback
Microservices Sample
Sample project to create an application using microservices architecture
Stars: ✭ 167 (+81.52%)
Mutual labels:  logstash, spring-boot, logback
Spring 5 Examples
This repository is contains spring-boot 2 / spring framework 5 project examples. Using reactive programming model / paradigm and Kotlin
Stars: ✭ 87 (-5.43%)
Mutual labels:  reactor, spring-boot
Logstash Gelf
Graylog Extended Log Format (GELF) implementation in Java for all major logging frameworks: log4j, log4j2, java.util.logging, logback, JBossAS7 and WildFly 8-12
Stars: ✭ 360 (+291.3%)
Mutual labels:  logstash, logback
Sentry Java
A Sentry SDK for Java, Android and other JVM languages.
Stars: ✭ 628 (+582.61%)
Mutual labels:  spring-boot, logback
spring-boot-microservice-eureka-zuul-docker-gateway-kubernetes
Spring Boot rest microservices using Kubernetes, ConfigMap, Eureka, Zuul / Spring Boot Gateway, Docker. Monitoring with logstash, logback, elasticsearch, kibana.
Stars: ✭ 86 (-6.52%)
Mutual labels:  logstash, logback
Spring Cloud Gateway
A Gateway built on Spring Framework 5.x and Spring Boot 2.x providing routing and more.
Stars: ✭ 3,305 (+3492.39%)
Mutual labels:  reactor, spring-boot
Logstash Logger
Ruby logger that writes logstash events
Stars: ✭ 442 (+380.43%)
Mutual labels:  logstash, logging-library
Jetlinks Community
JetLinks 基于Java8,Spring Boot 2.x ,WebFlux,Netty,Vert.x,Reactor等开发, 是一个全响应式的企业级物联网平台。支持统一物模型管理,多种设备,多种厂家,统一管理。统一设备连接管理,多协议适配(TCP,MQTT,UDP,CoAP,HTTP等),屏蔽网络编程复杂性,灵活接入不同厂家不同协议等设备。实时数据处理,设备告警,消息通知,数据转发。地理位置,数据可视化等。能帮助你快速建立物联网相关业务系统。
Stars: ✭ 2,405 (+2514.13%)
Mutual labels:  reactor, spring-boot
Spring Reactive Sample
Spring 5 Reactive playground
Stars: ✭ 867 (+842.39%)
Mutual labels:  reactor, spring-boot
Hsweb Framework
hsweb (haʊs wɛb) 是一个基于spring-boot 2.x开发 ,首个使用全响应式编程的企业级后台管理系统基础项目。
Stars: ✭ 7,724 (+8295.65%)
Mutual labels:  reactor, spring-boot
Reactive Ms Example
An educational project to learn reactive programming with Spring 5
Stars: ✭ 157 (+70.65%)
Mutual labels:  reactor, spring-boot
Angular Spring Reactive Sample
RESTful API demos with Spring 5 WebFlux, Spring Boot 2, Spring Data Mongo, Spring Security, Spring Session and Angular 11
Stars: ✭ 153 (+66.3%)
Mutual labels:  reactor, spring-boot
Scribe
The fastest logging library in the world. Built from scratch in Scala and programmatically configurable.
Stars: ✭ 304 (+230.43%)
Mutual labels:  logging-library, logback
Spring Webflux Reactive Rest Api Demo
Build Reactive Rest APIs with Spring WebFlux and Reactive Mongo
Stars: ✭ 117 (+27.17%)
Mutual labels:  reactor, spring-boot
Sample Spring Microservices
Many samples in different branches that shows how to create microservices with Spring Boot, Spring Cloud, Zipkin, Zuul, Eureka, Hystrix, Kubernetes, Elastic Stack and many more tools
Stars: ✭ 368 (+300%)
Mutual labels:  logstash, spring-boot
Spring Boot Sample App
Sample app generated from my spring boot archtype on :https://github.com/Romeh/spring-boot-quickstart-archtype
Stars: ✭ 81 (-11.96%)
Mutual labels:  spring-boot, logback
Microservice Scaffold
基于Spring Cloud(Greenwich.SR2)搭建的微服务脚手架(适用于在线系统),已集成注册中心(Nacos Config)、配置中心(Nacos Discovery)、认证授权(Oauth 2 + JWT)、日志处理(ELK + Kafka)、限流熔断(AliBaba Sentinel)、应用指标监控(Prometheus + Grafana)、调用链监控(Pinpoint)、以及Spring Boot Admin。
Stars: ✭ 211 (+129.35%)
Mutual labels:  logstash, spring-boot
Logback Android
📄The reliable, generic, fast and flexible logging framework for Android
Stars: ✭ 930 (+910.87%)
Mutual labels:  logging-library, logback
Spring Boot Fx
🎈Spring Boot, JavaFX, bootstrap3, mongoDB
Stars: ✭ 57 (-38.04%)
Mutual labels:  spring-boot, logback

Logging with Spring Boot and Elastic Stack Twitter

Maven Central CircleCI Quality Gate Status Maintainability Rating Reliability Rating

Main purpose

This library is created for logging incoming HTTP requests and outgoing HTTP responses and send these logs automatically to Logstash.

Articles

Detailed description can be found here:

  1. Logging with Spring Boot and Elastic Stack
  2. Using logstash-logging-spring-boot-starter for logging with Spring Boot and Logstash

Features

In short, let’s begin from a brief review of main features provided by logstash-logging-spring-boot-starter:

  1. It is able to log all incoming HTTP requests and outgoing HTTP responses with full body, and send those logs to Logstash with the proper tags
  2. It is able to calculate and store an execution time for each request
  3. It generates and propagates correlationId for downstream services calling with Spring RestTemplate or OpenFeign
  4. It is auto-configurable Spring Boot library – you don’t have to do anything more than including it as a dependency to your application to make it work

Getting started

The library is published on Maven Central. Current version is 1.2.2.RELEASE

<dependency>
  <groupId>com.github.piomin</groupId>
  <artifactId>logstash-logging-spring-boot-starter</artifactId>
  <version>1.2.2.RELEASE</version>
</dependency>

By default the library is enabled, but tries to locate Logback configuration inside your application to settings for Logstash appender. If such appender won’t be found, the library uses Spring Boot default logging configuration, which does not include Logstash appender. To force it use auto-configured appender definition inside library we have to set property logging.logstash.enabled to true.

logging.logstash:
  enabled: true
  url: 192.168.99.100:5000
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].