I am trying to relabel after copying the existing metrics for Kafka only for below match
Kafka_log_size{partition=“1”, topic=“ab_bc_cd_12345_ef_001”,} 10
I want output as : Kafka_log_size{partition=“1”, topic=“ab_bc_cd_12345_ef_001”,} 10 Kafka_log_size_uniq{partition=“1”, uniq=“12345”,} 10
From reading multiple articles , it seems this can be achieved by relabeling . But not sure how to start with please advise . Thanks