Possible to de-dupe stream?

I’ve got a stream of events in my InfluxDB injected by n sources that each see the original events.


(event foo) 2017-10-13T01:20:36Z Field/Misc:X Tag/Source:HostA
(event foo) 2017-10-13T01:20:36Z Field/Misc:X Tag/Source:HostB
(event foo) 2017-10-13T01:20:37Z Field/Misc:X Tag/Source:HostC
(event bar) 2017-10-13T01:20:50Z Field/Misc:Y Tag/Source:HostA
(event bar) 2017-10-13T01:20:51Z Field/Misc:Y Tag/Source:HostB
(event bar) 2017-10-13T01:20:52Z Field/Misc:Y Tag/Source:HostC

I’d like to use only one instance of each event. Is there a way to gather the related points together by approximate time and collapse them all down into a unique point disregarding the source?

(event foo) 2017-10-13T01:20:36Z Field/Misc:X
(event bar) 2017-10-13T01:20:50Z Field/Misc:Y


Maybe GroupBy the tags that uniquely identify the event, Delete any extraneous tags or fields that vary within an event, then Distinct them?