Skip to content

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