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

Escape periods in field names to avoid Mapper Parsing Exception [packetbeat] #1812

Closed
mikesparr opened this issue Jun 7, 2016 · 3 comments
Closed
Labels
bug needs_team Indicates that the issue/PR needs a Team:* label Packetbeat Stalled

Comments

@mikesparr
Copy link

Reference discussion: https://discuss.elastic.co/t/mapper-parsing-exception-periods-in-field-name/51811/4

Since packetbeat allows you to capture http headers and cookies, there's no way to control what some 3rd-party frameworks name their variables, and packetbeat should escape characters that will fail in ElasticSearch Mapping Parser.

  • expect packetbeat output to Elasticsearch to not break during ES bulk loading
@ruflin
Copy link
Member

ruflin commented Jun 8, 2016

The problem with the header is that it contains fields like aaa.bbb with the dot notation which is not allowed under elasticsearch 2.x. I suggest we replaced . either with _ or -. Based on the naming standard we use in other fields _ would probably be the better option. @tsg Any thoughts here?

@botelastic
Copy link

botelastic bot commented Jul 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added Stalled needs_team Indicates that the issue/PR needs a Team:* label labels Jul 9, 2020
@botelastic
Copy link

botelastic bot commented Jul 9, 2020

This issue doesn't have a Team:<team> label.

@botelastic botelastic bot closed this as completed Aug 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug needs_team Indicates that the issue/PR needs a Team:* label Packetbeat Stalled
Projects
None yet
Development

No branches or pull requests

2 participants