Loki drop label after filter

I want use loki to create time series
I already parse data

and use some label filter
last to create time series

but I will get error maximum of series (500) reached for a single query

I think I need remove don’t need field befor visualization

how do I accomplish this ?

You probably have too many labels, see Best practices | Grafana Loki documentation.