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

transaction.name no longer has multi-field mapping #985

Closed
axw opened this issue Jun 1, 2018 · 3 comments · Fixed by #986
Closed

transaction.name no longer has multi-field mapping #985

axw opened this issue Jun 1, 2018 · 3 comments · Fixed by #986

Comments

@axw
Copy link
Member

axw commented Jun 1, 2018

I ran apm-integration-testing today and noticed that basically everything is failing. Tracked it down to the "transaction.name.keyword" match which is failing because there is no such field. It's just transaction.name with keyword type.

https://apm-ci.elastic.co/job/elastic+apm-integration-testing+master+push/51/consoleFull

@axw
Copy link
Member Author

axw commented Jun 1, 2018

IIUC, the index template should define that mapping, but it's not:

2018-06-01T09:28:11.845Z DEBUG [elasticsearch] elasticsearch/client.go:708 PUT http://elasticsearch:9200/_template/apm-7.0.0-alpha1 map[index_patterns:[apm-7.0.0-alpha1-*] mappings:{"doc":{"_meta":{"version":"7.0.0-alpha1"},"date_detection":false,"dynamic_templates":[{"strings_as_keyword":{"mapping":{"ignore_above":1024,"type":"keyword"},"match_mapping_type":"string"}}],"properties":{}}} order:1 settings:{"index":{"codec":"best_compression","mapping":{"total_fields":{"limit":10000}},"number_of_routing_shards":30,"number_of_shards":1,"refresh_interval":"5s"}}]

@axw
Copy link
Member Author

axw commented Jun 1, 2018

Yep, on master "apm-server export template" doesn't include any of our fields. Bisected to a64eb29.

@beniwohli
Copy link
Contributor

awesome catch @axw! Hopefully this is also going to fix elastic/apm-integration-testing/issues/73

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 a pull request may close this issue.

2 participants