Is 'Ashtagrama' a Kannada word or Tamil word?

Ashtagrama is name of a place near Kolar (border of Karnataka and Tamil Nadu) which literally means 'eight villages' and is a Sanskrit word.
Ashtagrama is name of a place near Kolar (border of Karnataka and Tamil Nadu) which literally means 'eight villages' and is a Sanskrit word.