Fluentd and missing GCP logging metadata

Iā€™m shipping logs from on-premise to the GCP using google-fluentd agent but on the GCP side it has missing few metadata like resource.labels.instance_id

Is there any way to have it set via fluentd configuration? I saw some solutions for kubernetes but none for logs from VMs.