get_value api to read interface statistics