Elasticsearch java api index data pattern
up vote
0
down vote
favorite
How can I create an index in elasticsearch myindexname-YYYY-MM-DD
using the JAVA api (not using logstash)?
I'm using this code right now:
final CreateIndexRequest createIndexRequest = new CreateIndexRequest("myindexname");
client.indices().create(createIndexRequest, RequestOptions.DEFAULT);
elasticsearch
add a comment |
up vote
0
down vote
favorite
How can I create an index in elasticsearch myindexname-YYYY-MM-DD
using the JAVA api (not using logstash)?
I'm using this code right now:
final CreateIndexRequest createIndexRequest = new CreateIndexRequest("myindexname");
client.indices().create(createIndexRequest, RequestOptions.DEFAULT);
elasticsearch
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
How can I create an index in elasticsearch myindexname-YYYY-MM-DD
using the JAVA api (not using logstash)?
I'm using this code right now:
final CreateIndexRequest createIndexRequest = new CreateIndexRequest("myindexname");
client.indices().create(createIndexRequest, RequestOptions.DEFAULT);
elasticsearch
How can I create an index in elasticsearch myindexname-YYYY-MM-DD
using the JAVA api (not using logstash)?
I'm using this code right now:
final CreateIndexRequest createIndexRequest = new CreateIndexRequest("myindexname");
client.indices().create(createIndexRequest, RequestOptions.DEFAULT);
elasticsearch
elasticsearch
asked Nov 9 at 13:57
Fabry
183113
183113
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
have you looked on the rollover api in elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html ?
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
have you looked on the rollover api in elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html ?
add a comment |
up vote
0
down vote
accepted
have you looked on the rollover api in elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html ?
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
have you looked on the rollover api in elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html ?
have you looked on the rollover api in elasticsearch: https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-rollover-index.html ?
answered Nov 9 at 20:47
ibexit
559111
559111
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53227093%2felasticsearch-java-api-index-data-pattern%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password