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

Changing template mapping from int to integer #1176

Closed
ruflin opened this issue Mar 17, 2016 · 1 comment
Closed

Changing template mapping from int to integer #1176

ruflin opened this issue Mar 17, 2016 · 1 comment

Comments

@ruflin
Copy link
Member

ruflin commented Mar 17, 2016

In all our fields.yml files we use int to define integers. It seems the correct mapping type in elasticsearch is integer: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html We should rename all int to integer and regenerate our templates.

Note: This had not affect so far as we didn't generate the templates for int.

Example here:
https://github.com/elastic/beats/pull/1155/files/e5b256f2376efd752f23bec8c60dfff46eb2ba42#diff-8034c25c820cd3bb48fe68e5a463a9b3R100

@ruflin
Copy link
Member Author

ruflin commented Apr 26, 2016

"type":"int" does not work on ES 1.7, 2.x and 5.0. We must change this for all beats.

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

No branches or pull requests

1 participant