Can we scrape logs from multiple machines to single Loki end point using Promtial

Here all the machines are in same VPC.
I am attaching the promtail configruation.
I basically want to push the logs from remote machine to loki running in other machine.
is that possible?