Giter Site home page Giter Site logo

cistern's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m Mike Heijmans
  • ๐Ÿ‘€ Iโ€™m interested in finance tech, all things DRY and SOLID, and learning new things
  • ๐ŸŒฑ Iโ€™m currently learning embedded system design and devlopment
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on animatronics, finance tech, and embedded system realtime operating systems
  • ๐Ÿ“ซ How to reach me message me on Mastodon: https://mastodon.social/@[email protected]

cistern's People

Contributors

parabuzzle avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

cistern's Issues

[Feature] Agent execute script

It would be nice if the agent could alternatively run a script instead of tailing a file that would return event data on stdout. This would allow someone to roll a script to watch a collection of files in a directory or whatever they want and send events via stdout.

Log rotation needs to be added

There should be auto log rotation that is settable via the frontend. This should also be accompanied with a database maintenance script that can compress the events table for innodb support.

Given that the delete command removes rows from the database but does not free innodb pool space, over time the database will become very bulky and fragmented. There should be some way to dump the events table and then reload it to recover the innodb pool space and defragment the data. This could be done via a frontend trigger or a backend task... don't know yet. Just a thought.

Agent hostname does not allow localhost

The hostname field has a validation for FQDN only. This fails if the last section of the hostname doesn't include a valid TLD like .com or .net.

This needs to allow for localhost and localdomain at the very least. Assuming that the person setting up cistern knows what they are doing, we can probably pull that validation check.

Delete needs to be added

There needs to be delete functions.

Removing an agent should remove logtype associations and all events keyed to that agent.
Removing a logtype should remove all agent associations and all static entries keyed to that logtype.
When static entries are removed all events for that static entry should be removed.

Server crashes when searching

An unknown error occurs when running a search query against the ferret index. The error causes the frontend server to crash.

Log collector does not verify agent to type association

I can send log events with any logtype_id for an agent and the event will be logged. This causes two problems:

  1. If the agent is not a member of the logtype then there is no way to do cross association filtering and metrics

  2. if the logtype doesn't exist, then the event will be shown in the all events view and agent view only and it will cause certain detail views to break.

Proposed Solution: The log collector should verify that the logtype_id in the event is associated to the agent sending the event. If not, punt the event. If so, log it.

Commands output doesn't format well

When a command such as ps auxx is returned to the server the view doesn't respect spaces and command line columns. The view should respect spaces and columns provided by the command so that columns line up properly.

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.