I have 4-5 micro services which are all accessible through gateway service. I want to centralize the logging using elastic search, log stash and kibana. I have gone through few materials online and they write the logs to same file from every micro services (which I think is good for learning but bad idea for production code). What is the good approach here. Please suggest.
I have found this useful link. But not able to figure out how log stash is reading from a single port to push the logs to elastic search. I have commented my queries there as well.
Any suggestions or study materials would be appreciated. I am a newbie to ELK.