sortex / ansilog

Monitor and maintain a history for a centralized Ansible playbook executions.
4 stars 1 forks source link

Store and persist console output #2

Open rafi opened 9 years ago

rafi commented 9 years ago

Storing long-ass console outputs from Ansible, there's probably some small little key/value storage engines like Redis that could be great.

We don't really need this data to be queried on or analyze THAT much. It would be nice to filter and match some special highlighting colors like on "ERROR" keywords or any configurable patterns.

The datetime: It's nice also to show the time between each task as a timer that starts at 00:00:00 and could pinpoint slow procedures.

adamli commented 9 years ago

If the requirement is only for key/value and no need to run many queries, maybe simply file-system storage can do the trick?

rafi commented 9 years ago

As a starting point, storing the console output in filesystem isn't a bad idea. We can always upgrade repositories to insert into PostgreSQL or Redis.