Logs are being aggregated not separate lines

I am not sure if this is a logstash or elasticsearch subject.

I am pulling nginx_error logs from filebeats > logstash > elasticsearch

The thing I have noticed that it is grouping all the messages together like the following output and not displaying each message as a different log message:

"/api/v1/orders/220169524", client: 10.5.0.5, server: svr1-app-1..net, request: "GET /api/v1/orders/220169524?account_id=11139568 HTTP/1.0", host: "neptun.net"
2020/03/23 10:40:28 [notice] 3975#3975: *1227471 rewritten data: "/api/api.php", args: "service=/orders&id=/220169524&account_id=11139568", client: 10.5.0.5, server: svr1-app-1.net, request: "GET /api/v1/orders/220169524?account_id=11139568 HTTP/1.0", host: "neptun.net"
2020/03/23 10:40:28 [notice] 3975#3975: *1214340 "^/api/v1(/[a-zA-Z]+)?(/[a-zA-Z0-9]+)?$" matches "/api/v1/warehouseOrderLvsStatus/2719935", client: 10.2.32.6, server: svr1-app-1.net, request: "GET /api/v1/warehouseOrderLvsStatus/2719935?ID=614d3409df26ef98d3bade5837e43ec4 HTTP/2.0", host: "svr1.net", referrer: "https://svr1.net/admin.php?content=36;orderid=120054197;ID=614d3409df26ef98d3bade5837e43ec4"
2020/03/23 10:40:28 [notice] 3975#3975: *1214340 rewritten data: "/api/api.php", args: "service=/warehouseOrderLvsStatus&id=/2719935&ID=614d3409df26ef98d3bade5837e43ec4", client: 10.2.32.6, server: svr1-app-1..net, request: "GET /api/v1/warehouseOrderLvsStatus/2719935?ID=614d3409df26ef98d3bade5837e43ec4 HTTP/2.0", host: "svr1.net", referrer: "https://svr1..net/admin.php?content=36;orderid=120054197;ID=614d3409df26ef98d3bade5837e43ec4"
2020/03/23 10:40:28 [notice] 3975#3975: *1227478 "^/api/v1(/[a-zA-Z]+)?(/[a-zA-Z0-9]+)?$" matches "/api/v1/products", client: 10.5.0.5, server: svr1-app-1..net, request: "GET /api/v1/products?product_id=10154%2C85906%2C9005%2C333908%2C99836%2C6078%2C142886%2C159849;sort=-id;page=1;per_page=10 HTTP/1.0", host: "neptun.bike24.net"
2020/03/23 10:40:28 [notice] 3975#3975: *1227478 rewritten data: "/api/api.php", args: "service=/products&id=&product_id=10154%2C85906%2C9005%2C333908%2C99836%2C6078%2C142886%2C159849;sort=-id;page=1;per_page=10", client: 10.5.0.5, server: svr1-app-1..net, request: "GET /api/v1/products?product_id=10154%2C85906%2C9005%2C333908%2C99836%2C6078%2C142886%2C159849;sort=-id;page=1;per_page=10 HTTP/1.0", host: "neptun.bike24.net"
2020/03/23 10:40:29 [notice] 3975#3975: *1227318 "^/api/v1(/[a-zA-Z]+)?(/[a-zA-Z0-9]+)?$" matches "/api/v1/warehouseOrderLvsStatus/2750572", client: 10.8.0.234, server: svr1-app-1..net, request: "GET /api/v1/warehouseOrderLvsStatus/2750572?ID=9260d39740e481cfc80a903ffebc5fad HTTP/2.0", host: "svr1.net", referrer: "https://svr1..net/admin.php?orderid=220170654;content=36"

The block above appears as one message not on separate lines.