# Custom plugin and custom entries in /etc/default/logstash gets deleted after each update on ubuntu

**URL:** <https://discuss.elastic.co/t/custom-plugin-and-custom-entries-in-etc-default-logstash-gets-deleted-after-each-update-on-ubuntu/325549>\
**Category:** Logstash\
**Created:** [February 15, 2023, 6:44am UTC](https://discuss.elastic.co/t/custom-plugin-and-custom-entries-in-etc-default-logstash-gets-deleted-after-each-update-on-ubuntu/325549 "2023-02-15T06:44:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![stillfreem](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stillfreem/32/85628_2.png) [@stillfreem](https://discuss.elastic.co/u/stillfreem)\
**Post date:** [February 15, 2023, 6:44am UTC](https://discuss.elastic.co/t/custom-plugin-and-custom-entries-in-etc-default-logstash-gets-deleted-after-each-update-on-ubuntu/325549/1 "2023-02-15T06:44:03Z")

</div>

Hello All,

I wanted a to ask if anybody knows why after almost each `apt-get update/upgrate` on my server two output plugins always gets deleted and I need to reinstall them along with all custom Logstash entries in `/etc/default/logstash`?

The plugins are:

`logstash-output-kusto`  
`microsoft-logstash-output-azure-loganalytics`

Can I prevent this somehow?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 15, 2023, 6:44am UTC](https://discuss.elastic.co/t/custom-plugin-and-custom-entries-in-etc-default-logstash-gets-deleted-after-each-update-on-ubuntu/325549/2 "2023-03-15T06:44:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
