Git Product home page Git Product logo

play2-graylog2's Introduction

Caution

This repository is deprecated and not in use anymore. It is kept for historical purposes, but no PRs will be merged, no issues will be worked on.

play2-graylog2

Play 2 module for sending application logs to Graylog2

See the project-code/README for an introduction, or play around with the provided sample application.

Please refer to the Ivy repository overview page for instructions on how to include the module in your Play application

License

Copyright 2013-2015 Graylog, Inc

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

play2-graylog2's People

Contributors

dennisoelkers avatar kroepke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

play2-graylog2's Issues

Write apache httpd log format string parser

To support writing a local access log as well as a structured one, we would like to reuse apache's log format strings.

Parse the string, and include the mentioned fields in the GELF packet, as well as format the string accordingly for writing to disk.

Add support for UDP transport

The TCP implementation has an in-memory queue between logging and sending the request to decouple the application from logging problems.
Optionally allow logging over UDP as well, for those that really don't care if they lose the occasional message.

This needs a proper GELF chunking implementation.

Support multiple graylog2 servers

The module only supports a single server currently.

Make use of an entire cluster of nodes to support sending more logs, more reliably.

For use in graylog2-web-interface the list must also be configurable from within the application itself.

Understanding Scala example

In the example for sending a structured access log using Scala looks like:
import play.api.mvc._
import org.graylog2.logback.appender.AccessLog

object Global extends WithFilters(AccessLog) {
    ...
}

I'm unclear what would replace the ellipsis. Can someone point me in the right direction?

Support Scala 2.11

Using the plugin with a Scala 2.11 Play project leads to

[error] Modules were resolved with conflicting cross-version suffixes in {file:/Users/mariussoutier/Workspace/Play.workspace/graylog2-demo/}root:
[error]    com.typesafe.play:play-functional _2.11, _2.10
[error]    com.typesafe.akka:akka-actor _2.11, _2.10
[error]    com.typesafe.play:play-json _2.11, _2.10
[error]    com.typesafe.play:play _2.11, _2.10
[error]    com.typesafe.play:play-iteratees _2.11, _2.10
[error]    com.typesafe.play:twirl-api _2.11, _2.10
[error]    com.typesafe.akka:akka-slf4j _2.11, _2.10
[error]    org.scala-stm:scala-stm _2.11, _2.10
[error]    com.typesafe.play:play-datacommons _2.11, _2.10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.