Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic index support for elasticsearch #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kolomiets
Copy link

Dynamic indeces are much more flexible, so it log entry has a timestamp
(typically it does) - we can build dynamic index name for elasticsearch.

Dynamic indeces are much more flexible, so it log entry has a timestamp
(typically it does) - we can build dynamic index name for elasticsearch.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 99.329% when pulling 9381f92 on hazy-bits:elasticsearch-dynamic-index-support into 729f9ba on arithmetric:master.

@kolomiets
Copy link
Author

Ups, sorry for that, will fix all the issues shortly.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling da2490d on hazy-bits:elasticsearch-dynamic-index-support into 729f9ba on arithmetric:master.

@myoung34
Copy link

@kolomiets i was able to do this without using any code changes:

var moment = require('moment')

then in my configuration:

            elasticsearch: {
              index: 'lambda-' + moment().format('YYYY-MM-D'),
              type: 'test'
            }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants