Each document in my index has the following terms:
I'm just looking to create a report or data table to view this data in the following format:
host.hostname-1: vulnerability.id-1, vulnerability.id-2, vulnerability.id-3 host.hostname-2: vulnerability.id-1, vulnerability.id-2 host.hostname-3: vulnerability.id-2, vulnerability.id-3
and so on...
So I'm trying to report each line as:
<unique hostname>: <list of unique vulnerability ID's for that hostname>
For some reason I can't seem to figure it out - so any help is much appreciated.