Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-534

As an Amazon Web Services user, I want a DynamoDB NoSQL appender

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1
    • None
    • Appenders
    • AWS, AWS Java SDK, EC2 instance, DynamoDBv2

    Description

      (I'm used to using the agile features of Jira if you haven't already noticed)

      Anyway, AWS provides a few different services that all look promising as appenders in Log4j. The first one that comes to mind is DynamoDB as a good example. There's also another NoSQL serviced called SimpleDB which is rather similar (even has a use case of storing logs), but that's also still in beta and whatnot.

      I've begun work on implementing a NoSQL plugin for DynamoDB. My main concern is that all database objects are written as strings. Now this shouldn't be that big an issue with the NoSQL appender as is considering all the data that's written tends to be a string or convertible to a string. I have to explore the API options a bit more to find any better solutions, but there is a sort of JAXB-like marshaller (using Jackson for JSON, naturally) that is useful for giving an attribute value a more complex object rather than relying on foreign keys in a NoSQL setting.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mattsicker Matt Sicker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: