Reading and writing logs from Loki server


I am running Loki server on ec2 and it is pushing logs of my ECS (Elastic container service) to S3 as well. I am also retaining logs to Loki server local storage even after pushing logs to S3 as a backup. How can I read the logs from Loki server directly without interacting with S3? Does any specific Loki read configuration is required for that?