-
Notifications
You must be signed in to change notification settings - Fork 467
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
[O11y][Salesforce] Update _id field in Salesforce dashboard #5876
Comments
There are two possible solutions to resolve this issue:Solution 1:As mentioned in the documentation of _id, the content of _id field can be copied in another field using ingest pipeline and the new field can be used in visualizations.
Solution 2 [Recommended]:The current visualizations have below limitations:
The panels are showing list of events. Hence, the saved search can be used to display all the events. The only drawback in creating search visualization is column name. In search panels, column names are not configurable. Please find below screenshots of originial visualization and suggested panel: |
@agithomas, The possible solutions of meta data field (_id) issue are mentioned in the above comment. Please let us know how we should proceed ahead. |
Two panels that use _id meta field belongs to two different data streams:
The _id generation happens after the ingest pipeline is applied. Login Rest data stream has the fingerprint processor which assigns value to the _id field in pipeline itself [Reference]. So we can copy the value of _id field to custom field in ingest pipeline.
But in Setup audit trail data stream, the fingerprint processor is not used. So _id field will be generated automatically once the document has been parsed from the ingest pipeline and because of that we can not copy the value from _id field to the custom field in ingest pipeline (because _id field will be empty at that moment ). However, there is a @agithomas, @SubhrataK Can you please provide your suggestions? Whether we should use |
It is not uncommon to have _id and event.id depending on same json field value . Reference If |
@agithomas, In Login Rest data stream, It was required to create fingerprint hence However, we can add fingerprint processor on |
Thanks for sharing the details. I do not find any concerns here going with the above mentioned approach. Please create the PR and share the link here . Please include @lalit-satapathy as additional reviewer. |
PR is approved and merged, hence closing this issue: #6041 |
Description
Below two Salesforce dashboards panels uses _id field:
These visualizaions are working as expected till 8.4.0 and 8.5.0. But in Kibana 8.6.0 and later versions it shows below error.
According to documention _id fields are not supported in aggregations:
Related Issues
The text was updated successfully, but these errors were encountered: