-
Notifications
You must be signed in to change notification settings - Fork 524
Curator
We're currently working on integrating Curator into Security Onion with our move to the Elastic stack.
From: https://www.elastic.co/guide/en/elasticsearch/client/curator/5.1/about.html#about
Elasticsearch Curator helps you curate, or manage, your Elasticsearch indices and snapshots by:
- Obtaining the full list of indices (or snapshots) from the cluster, as the actionable list
- Iterate through a list of user-defined filters to progressively remove indices (or snapshots) from this actionable list as needed.
- Perform various actions on the items which remain in the actionable list.
Curator runs as a Docker container within Security Onion, and, by default, is configured to perform a dry run of closing and deleting of indices after two days.
The default configuration for Curator can be modified by making changes to the "action" files located in /etc/curator/action.
When Curator completes an action, it logs such activity in a log file found at /var/log/curator/curator.log.
Curator runs every minute, and is controlled by cron jobs defined in /etc/cron.d/.
To allow Curator to run without the --dry-run option, simply remove it from the respective /etc/cron.d/curator-[action] file.
#/etc/cron.d/curator-close
#
#crontab entry curator 'close' action
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/localbin:/sbin:/bin?usr/sbin:/usr/bin
0 1 * * * root docker exec so-curator curator --config /etc/curator/config/curator.yml
/etc/curator/action/close.yml > /dev/null 2>&1
To change the number of days for which Curator might close/delete indices modify the value for unit_count in the respective .yml file:
unit: days
unit_count: 7
- Introduction
- Use Cases
- Hardware Requirements
- Release Notes
- Download/Install
- Booting Issues
- After Installation
- UTC and Time Zones
- Services
- VirtualBox Walkthrough
- VMWare Walkthrough
- Videos
- Architecture
- Cheat Sheet
- Conference
- Elastic Stack
- Elastic Architecture
- Elasticsearch
- Logstash
- Kibana
- ElastAlert
- Curator
- FreqServer
- DomainStats
- Docker
- Redis
- Data Fields
- Beats
- Pre-Releases
- ELSA to Elastic
- Network Configuration
- Proxy Configuration
- Firewall/Hardening
- Email Configuration
- Integrating with other systems
- Changing IP Addresses
- NTP
- Managing Alerts
- Managing Rules
- Adding Local Rules
- Disabling Processes
- Filtering with BPF
- Adjusting PF_RING for traffic
- MySQL Tuning
- Adding a new disk
- High Performance Tuning
- Trimming PCAPs