Hi,
The following is my search:
index=pace ERROR OR FATAL OUI=* Number=*
| stats count by OUI Number
| sort -count
After executing the above search i get the following results:
OUI Number count
9C3DCF | 4W12757WA51F6 | 18 | 80CC9C | 4W15177LA0AD1 | 10 | 0836C9 | 4W150B70A3837 | 4 | 100C6B | 4W15077PA0682 | 3 | 80CC9C | 4W151778A0A39 | 3 | 80CC9C | 4W15177GA0A5D | 3
|
Firstly - you did something strange with tables in your post. It's unreadable 🙂
Secondly - just use lookup.
index=pace ERROR OR FATAL OUI=* Number=*
| stats count by OUI Number
| sort -count
| lookup subsdeviceextract.csv "Serial Number" AS Number OUTPUT Model
Hi @luuken,
you have to put your table in a lookup called e.g. subsdeviceextract.csv (for more infos see at (https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Lookup) and then run a search like this:
index=pace ERROR OR FATAL OUI=* Number=*
| stats count by OUI Number
| lookup subsdeviceextract.csv OUI OUTPUT Model
| sort -count
| table OUI Number count Model
If you like, you can use also other fields from your lookup.
Ciao.
Giuseppe