A Journey of a Thousand Miles Begins with a Single Step

Timestamps in Painless

In short: Converting a UTC timestamp to a local timestamp (in Switzerland).

Read more

Aggregate data in Elastisearch Part 1

Elasticsearch with its Query DSL allows powerful aggregations in order to save documents and disk space. After a certain period of time a certain level of detail is not needed anymore. For instance, I collect on a daily basis statistical data about fraud prevention services.

Read more

Analyze Cluster Reroute

My test cluster health was yellow. The X-Pack Monitoring pointed to some indices, which were yellow.

Read more

Reset Persistent Elasticsearch Cluster Setting

If you setup Elasticsearch to report to a dedicated monitoring cluster

PUT _cluster/settings
  "persistent": {
    "xpack.monitoring.exporters.cloud_monitoring.type": "http",
    "xpack.monitoring.exporters.cloud_monitoring.host": "MONITORING_ELASTICSEARCH_URL",
    "xpack.monitoring.exporters.cloud_monitoring.auth.username": "cloud_monitoring_agent",
    "xpack.monitoring.exporters.cloud_monitoring.auth.password": "MONITORING_AGENT_PASSWORD"

Read more

Ship Monit logs with Filebeat

A quick recipe how to ship Monit logs to Elasticsearch. Some initial configuration was in place but I ran into some troubles.

Read more

Remove Image Meta Data

ExifTool is a free and open-source software program for reading, writing, and manipulating image, audio, video, and PDF metadata.

Read more