How do i configure my ELK so that i can analize my server logs?

See e.g. https://www.elastic.co/guide/en/logstash/current/config-examples.html for some examples. To get the best help in the future, ask more specific questions.