Creating Kibana compatible logs in Uipath

I’m trying to create a Xaml file where logs will be stored and those stored logs will be compatible with Kibana and will automatically be sent to Elasticsearch, to display on kibana.
whenever there will be changes in the logs, the dashboard will also be updated automatically.
I’m new to this pls help me.