karussell / elasticsearch-rollindex Goto Github PK
View Code? Open in Web Editor NEWElasticSearch plugin for rolling indices.
Home Page: https://github.com/elasticsearch/elasticsearch/issues/1500
ElasticSearch plugin for rolling indices.
Home Page: https://github.com/elasticsearch/elasticsearch/issues/1500
Hi,
I implemented support for custom date format in the index name. When none is supplied, it defaults to the current format yyyy-MM-dd-HH-mm
.
The call then looks like this:
curl -XPUT "localhost:9200/_rollindex?indexPrefix=index&searchIndices=1&rollIndices=7&indexNameTimestampPattern=yyyy-MM-dd"
My motivation is to roll just once per day and have indices with known name, because my app that communicates with ES doesn't know when exactly the script was run.
Do you think it is worth a pull request?
Hey...
We upgraded our cluster from 0.90.0 to 0.90.5 and haven't been able to get rollindex plugin to work. ES keeps reporting No Handler.
Do you guys have plans for 0.90.5?
Thanks!
/sdimoff
[2014-01-14 18:06:56,091][WARN ][http.netty ] [usw2a-pri-seer-elasticsearch-2x0x0-01] Caught exception while handling clien
t http traffic, closing connection [id: 0x5faa07d5, /10.252.16.135:33222 => /10.252.16.135:9200]
java.lang.IncompatibleClassChangeError: Found class org.elasticsearch.rest.RestRequest, but interface was expected
at com.pannous.es.rollindex.RollAction.handleRequest(RollAction.java:60)
at org.elasticsearch.rest.RestController.executeHandler(RestController.java:159)
at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:142)
at org.elasticsearch.http.HttpServer.internalDispatchRequest(HttpServer.java:121)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.