Characterization of the Bose-glass phase in low-dimensional lattices