suppose I have two services (e.g service1 and service2) running on same server.
both services generates logs
In graylog how we can display both the service logs seperatly in graylog UI?
In my case I have used sidecar and filebeat for collecting logs from server
please suggest me the best possible way for it
That generally looks OK as a snippet… if you use the formatting tools when you post code in this forum it will be easier to tell… remember the configuration file is sensitive to indentation.