Comments (12)
It would be nice to have custom date format. I'm using an app creating indexes with dd-mm-YYYY format, which makes curator completely useless in my case.
from curator.
We could reuse the same syntax from either logstash or from kibana:
- logstash:
some text here %{+TIME FORMAT HERE} ...
- kibana:
[some text here ]TIME FORMAT HERE
from curator.
@divanikus You could make curator useful to you by patching it to support your use case, btw. :)
from curator.
@jordansissel Yeah, I know, and thats rather simple. But I prefer to have support of such things in "upstream" :)
from curator.
We do accept pull requests...
from curator.
It's simple to hack it for my case, but not that simple to make more generic option...
from curator.
@honzakral and I will be getting together at our company meetup next week to discuss the future of Curator. We will consider this becoming part of Curator 2.0.
from curator.
Actually, it would be nice to have a generic cli tool for es, to be able to interact with it with unix shell comfortably. I mean something like
es indices | grep -05- | xargs es close
Currently there is no such tool, most of present ones are just for one thing only, like es2unix or curator.
from curator.
Generic CLI tools don't deal with timeouts and things very well, unfortunately. Elasticsearch can be local, or it might be across the datacenter, or somewhere else in AWS.
from curator.
You can always make --host & --port options...
from curator.
You can achieve 'es indices | ... ' with the _cat api and xargs and curl. Grep will never understand time, so it's not a fit for what curator focuses on today (time-oriented indices)
% curl -s localhost:9200/_cat/indices | fex 2 | grep logstash- | xargs -n1 sh -c 'curl -XPOST localhost:9200/$1/_close' -
{"acknowledged":true}
Or really, your specific case, you don't need grep.
% curl -s localhost:9200/*-05-*/_close
from curator.
Yes, but typing so much curl is pain.
from curator.
Related Issues (20)
- Use regional endpoints for s3 repositories HOT 1
- 3rd party dependency is outdated HOT 1
- Curator 5.8.4 stopped functioning after move to Elasticsearch 7.16.3 HOT 5
- Update Click dependency to 8 HOT 1
- Date math generates wrong year in February HOT 2
- Curator not compatible with elasticsearch 8.0.0 HOT 42
- Elasticsearch version 8.0.0 incompatible with this version of Curator (5.8.4) HOT 2
- If I run shrink after index_settings my index settings are overwritten HOT 1
- Unable to connect to Elasticsearch cluster. Error: argument of type 'NoneType' is not iterable HOT 1
- 5.8.4 breaks support of Elasticsearch 5.6.16 HOT 5
- curator fails to install due to: SyntaxError: future feature annotations is not defined HOT 1
- config http_auth work properly,but username and password not HOT 1
- Curator month unit set to 31 days HOT 1
- Snapshot on indices created on pre ES 1.3 and updated to ES2.4 HOT 3
- Elasticsearch Curator RPM package does not contain a SHA256 Digest signature HOT 2
- build the curator 7 arm docker image error HOT 5
- 'indices' missing in stats dict HOT 3
- Curator silently fails if one of `client.certificate`, `client.client_cert` and `client.client_key` is not accessible HOT 4
- Docker build fail to create runable image HOT 12
- Unable to skip some indices while restoring
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from curator.