# Logging is not happening after migration to Elasticsearch version 8

**URL:** <https://discuss.elastic.co/t/logging-is-not-happening-after-migration-to-elasticsearch-version-8/368267>\
**Category:** Elasticsearch\
**Created:** [October 4, 2024, 5:50pm UTC](https://discuss.elastic.co/t/logging-is-not-happening-after-migration-to-elasticsearch-version-8/368267 "2024-10-04T17:50:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaurav\_r](https://avatars.discourse-cdn.com/v4/letter/g/5e9695/32.png) [@gaurav\_r](https://discuss.elastic.co/u/gaurav_r)\
**Post date:** [October 4, 2024, 5:50pm UTC](https://discuss.elastic.co/t/logging-is-not-happening-after-migration-to-elasticsearch-version-8/368267/1 "2024-10-04T17:50:04Z")

</div>

We have desktop application that we deploy on VMware Horizon. The application was able to write logs on Elasticsearch server (version 7.\*).  
Now it is planned to upgrade Elasticsearch server from version 7 to version 8. To make it work with new version, we had to modify below line in the client-side application code-  
old code - _AutoRegisterTemplateVersion = AutoRegisterTemplateVersion.ESv7_  
Updated code - _AutoRegisterTemplateVersion = AutoRegisterTemplateVersion.ESv8_

After making the change, when I run the application from my local system, I can see logs on Kibana. but when the same application is deployed on Vmware Horizon and run, no log is showing on Kibana.  
FYI, on the application (client side) we are using Serilog.Sinks.Elasticsearch 10.0.0.0. Can you please suggest what is cause of the issue and how can it be fixed?
