-
Notifications
You must be signed in to change notification settings - Fork 25k
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
x-pack/plugin/apm-data: map some APM fields as flattened and fix error.grouping_name script #103032
Conversation
If error.log.message is an empty string, ignore it. If error.exception exists but has no message field, don't throw an exception; ignore null/empty values. Add YAML REST tests.
Hi @axw, I've created a changelog YAML for you. |
Pinging @elastic/es-data-management (Team:Data Management) |
Hi @axw, I have a couple of contribution drive-by comments:
Hope this makes sense, let me know if it doesn't, thanks! |
Thanks for taking a look @dakrone!
Got it. Just to be sure, this applies even to draft PRs? (It was draft when I did that.)
I don't think it's necessary yet -- we've not yet enabled this in serverless (or anywhere else). The templates/pipelines were a little bit broken, and this PR is getting it to a state where it can start to be enabled. WDYT?
Understood, sorry! Will endeavour to make them more meaningful. |
@elasticmachine update branch |
This is more personal taste (the no-force-merge rule is mostly for non-draft PRs), so I think this one in particular depends on the person.
Ahh okay, I hadn't realized this wasn't enabled in Serverless yet, can you point me to where that flag is? Or an issue I can watch for where it'll be enabled eventually? Thanks! |
The flag to enable the plugin is: elasticsearch/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/XPackSettings.java Lines 93 to 98 in 79385d2
There's no specific issue yet for enabling this in serverless, but the general issue for tracking related changes is elastic/apm-server#11529. I've written down the rough steps that we'll take to roll out the changes, which I expect we'll make issues out of later. |
@elasticmachine update branch |
Various fixes to the apm-data plugin:
error.grouping_name
script to not throw an exception when anerror.exception
object lacks amessage
attributeflattened
to prevent mapping conflictsAlso expand the YAML REST test coverage.