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

Field Name Cannot Contain '.' #4752

Closed
ryanmaclean opened this issue Mar 2, 2016 · 5 comments
Closed

Field Name Cannot Contain '.' #4752

ryanmaclean opened this issue Mar 2, 2016 · 5 comments

Comments

@ryanmaclean
Copy link
Contributor

Can this be revisited for the Elastic Stack release? I realize that this is intentional, but perhaps making this an option in ES (IIRC nested tags are the problem) is the best way around the root cause which forced the change in Logstash.

The problem currently is that our dashboards are already set up in many locations and many installs and switching to '_' from '.' is not only untennable, but also is not JSON standard: http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf (see page 3)

I realize that breaking the standard was done for a good reason on the ES side, but adding load to Logstash in order to mutate this via a ruby script (as per https://discuss.elastic.co/t/field-name-cannot-contain/33251/22) is simply adding insult to injury.

If I've understood this wrong, please correct me.

@jordansissel
Copy link
Contributor

JSON isn't the problem, so I don't think we need to discuss the JSON specification :)

We are actively working to figure out how to make dots available again for field names in Elasticsearch over in this ticket.

@ryanmaclean
Copy link
Contributor Author

This is fantastic news, thanks!

@suyograo
Copy link
Contributor

suyograo commented Mar 3, 2016

Since this is covered in elastic/elasticsearch#15951 will close this. To automatically convert dots to _, you also have the option of using de_dot filter logstash-filter-de_dot

@suyograo suyograo closed this as completed Mar 3, 2016
@ryanmaclean
Copy link
Contributor Author

@suyograo both this ticket and that one are closed without resolutions.

@suyograo
Copy link
Contributor

@ryanmaclean this is better tracked in Elasticsearch via elastic/elasticsearch#15951. Logstash will allow dots as long as ES will allow it. Meanwhile, you can also use this de_dot filter https://www.elastic.co/blog/introducing-the-de_dot-filter as a workaround

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

No branches or pull requests

3 participants