Skip to content

Feature request: print unique random tags #14

@qingvincentyin

Description

@qingvincentyin

I've come across your Docker image. It's very handy.

A feature request:

All the messages currently consist of very common words, and the entire sentence is fixed and repeated. When they are mixed with tons of other applications' logs in a data lake (e.g., in Elasticsearch, Datadog, Splunk, etc.), it is very hard to query for a particular message from your running container.

So, why not append each message with a dynamically generated random string -- each log line has a different, unique string. That will give the best of both worlds:

  1. You can query for the fixed part of your current message in order to get all messages from your particular container.
  2. You can also query for that random string to pinpoint a particular occurrence of a message.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions