elastic / elastic-agent-shipper

Data shipper for the Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.
Other
9 stars 19 forks source link

Add document equivalency test case to end to end tests #290

Closed leehinman closed 1 year ago

leehinman commented 1 year ago

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.

leehinman commented 1 year ago

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.