Giter Club home page Giter Club logo

elastic-ilm's People

Contributors

justinhendersonsmapper avatar smapper avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

elastic-ilm's Issues

Add log levels to service logs

Would allow us to quickly identify the good from the bad. Could use it along with "grep -v INFO" and the like.

Could also add a label to debug logs if enabled.

Example:
Index example-000001 meets required days to rollover but is not larger than 10 gb. Skipping
Becomes:
INFO: Index example-000001 meets required days to rollover but is not larger than 10 gb. Skipping

Add Support for Health Checks

It would be great if the elastic-ilm support custom health checks with remediation based on client_info.json.

Example client info:

Example client info entry

# "custom_checks": {
#     "0": {
#     "check": "/bin/bash /opt/elastic_stack/scripts/verify_acuity_custom_service.sh",
#     "remediate": "/bin/bash /opt/elastic_stack/scripts/restart_acuity_custom_service.sh",
#     "schedule": "15",
#     "remediation_retries": "3",
#     }
# },

Schedule would be dynamically set per entry. Thoughts?

  • Add support for health checks. Look for proper exit code
  • Add support for remediation checks. Run if check fails to exit properly
  • Add support for custom schedules per health check
  • Add support for remediation retry so it doesn't keep trying to remediate indefinitely

Retention Deletes restore jobs

The retention process should first check to see if the index in question is part of a recovery job. If so, it should ignore it. Otherwise it accidentally deletes the index causing it to cancel the restore job.

Needs Multithreaded

Tasks can lockup other tasks which is outside the design of this tool. At a minimum, each main piece of elastic-ilm (retention, accounting, etc.) needs to have it's own thread.

This is solvable by changing the scheduler module and/or plain multithreading.

Add Ongoing Monitoring

Add support for monitoring events such as:

  • Logstash pipelines
  • Data sources not sending logs
  • Hardware CPU, Memory, Disk

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.