Skip to content

Liberating Technology

Monthly Archives: March 2016

Python Script to clean out old elasticsearch indices

Below you will find a simple python script that can be used together with crontab or manually to clear out old daily elasticsearch indices. You just need to specify the index name and how many days back (from today) that you want to remove. Example use to delete syslog indices older than 90 days: python […]

Posted bykris2016-03-09Posted inLinux, TechnicalLeave a comment on Python Script to clean out old elasticsearch indices

Recent Posts

  • Fixing random 502s with GCP load balancer and kubernetes (GKE)
  • Automated certificates with HTTPS Ingress on GKE and google-managed certificates
  • How to push temperature and humidity from Telldus API to elasticsearch
  • Keep track of your Zimbra 8.7+ server with an ELK stack
  • Sending dicts, lists etc. as arguments to a fabric task using json

Donate

Recent Comments

  • tu on How to host WordPress admin on a seperate domain and subfolder
  • kris on How to host WordPress admin on a seperate domain and subfolder
  • Baguz on How to host WordPress admin on a seperate domain and subfolder
  • Thomas on How to host WordPress admin on a seperate domain and subfolder

Archives

  • October 2019
  • February 2019
  • April 2017
  • September 2016
  • August 2016
  • March 2016
  • December 2015
  • October 2015
  • September 2015

Categories

  • ELK
  • Kubernetes
  • Linux
  • Python
  • Technical
  • Ubuntu
  • Uncategorized
  • Wordpress
  • Zimbra
Liberating Technology, Proudly powered by WordPress.