Once end to end tests exist that can run elastic-agent both with and without the shipper, we should add tests similar to the code https://github.com/leehinman/docdiff to verify that the documents that are ingested are equivalent. This will be especially useful when processors are added to the shipper.
I built an integration test on top of https://github.com/elastic/beats/pull/36349, that compared documents going through the shipper and not. The documents are not the same. input.type is different.
Once end to end tests exist that can run elastic-agent both with and without the shipper, we should add tests similar to the code https://github.com/leehinman/docdiff to verify that the documents that are ingested are equivalent. This will be especially useful when processors are added to the shipper.