Mac Address type


(Rohit Raj) #1

Is there a type for mapping Mac Address in elasticsearch? Like for IP address we have ip type so how should Mac Address be mapped?


(Magnus Bäck) #2

What kind of searches do you want to make? Do you need efficient prefix searches?


(Rohit Raj) #3

We want to see addresses in world map like in Tile Map.


(Magnus Bäck) #4

Okay. Since MAC addresses don't have a geographic connection in the same way as IP addresses, perhaps you can use the translate filter to map known MAC addresses to a geographic location? You'd obviously have to maintain that mapping table on your own.


(system) #5