Skip to content

Demo/test project for adding Graylog Extended Log Format (GELF) to Spring Boot

License

Notifications You must be signed in to change notification settings

slissner/spring-boot-gelf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Gelf

This is a demo/test project for pull request #1 to Spring Boot.

The said PR adds Graylog Extended Log Format (GELF) to Spring Boot v3.4 structured logging feature.

How to run Graylog locally

Set up Graylog on your local machine with docker and send local log files into that Graylog.

  • Clone the following git repo
  • Configure the .env files for the open-core repo
  • Start those repos with docker-compose according to the Graylog2 docker compose repository README.md
  • Open graylog dashboard with user admin and the password generated for you (see log output)
  • Just following through setup wizard with the default values: Create new CA, automatic renewal, provisioning, ...
  • After that: you need to log in with the user admin, but this time with the password that you put into .env (in form of a hash)
  • Go to System > Inputs and create a new GELF UDP Input with the default settings.

About

Demo/test project for adding Graylog Extended Log Format (GELF) to Spring Boot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages