-
Notifications
You must be signed in to change notification settings - Fork 123
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
Math date support with index name. #28
Comments
@hrqiang Mirage only works for a single index currently. An authentication error can happen because of either appname or elasticsearch cluster URL not being interpreted correctly. Which version of ES are you using? And how are you using it - localhost or hosted somewhere? |
@siddharthlatest I'm using 2.2 version of ES, but I can try it on 5.0. |
@hrqiang I see the issue title as math date support for index name, we don't do that currently. Can you verify if the index name (as a string) works? We can then treat this as a possible enhancement. |
@siddharthlatest Yes, that works. |
For many of our index, like the one from logstash, it's date based.
So I would like to see if is it possible to have something like <MY_INDEX-{now/d}> for index(appName).
I tried <MY_INDEX-{now%2Fd}>, it's getting 200 OK for mapping response. But there is pop up said authentication error. I guess it's because the response doesn't exactly match the index name.
The text was updated successfully, but these errors were encountered: