# Log rotation - help

**URL:** <https://discuss.elastic.co/t/log-rotation-help/197251>\
**Category:** Elasticsearch\
**Created:** [August 29, 2019, 2:30am UTC](https://discuss.elastic.co/t/log-rotation-help/197251 "2019-08-29T02:30:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![shappy123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shappy123/32/51133_2.png) [@shappy123](https://discuss.elastic.co/u/shappy123)\
**Post date:** [August 29, 2019, 2:30am UTC](https://discuss.elastic.co/t/log-rotation-help/197251/1 "2019-08-29T02:30:36Z")

</div>

Hi Guys,

I need urgent help, I am using elastic on cloud ( not locally hosted ), I just want to know how I can enable log rotation or configure it, can someone please help me on this , as most of the documentation for log rotation is based on if something which is been locally hosted. Appreciate your help in advance.

Cheers

Aqeel

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 29, 2019, 4:10am UTC](https://discuss.elastic.co/t/log-rotation-help/197251/2 "2019-08-29T04:10:08Z")

</div>

You can-t. As you are using a managed service you have no direct acces to the shell or logs. Instead the logs are made available through the management console.

---

<div class="post-metadata">

**Author:** ![shappy123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shappy123/32/51133_2.png) [@shappy123](https://discuss.elastic.co/u/shappy123)\
**Post date:** [August 29, 2019, 11:59am UTC](https://discuss.elastic.co/t/log-rotation-help/197251/3 "2019-08-29T11:59:55Z")

</div>

Hi Christian,

Thanks for you help and feedback always help me, just another question to ask, we are using Fluentbit in our environment , which is an open source log forwarder , we use it as pods in kurbunetes, any possbility or idea if we can use it as for log rotation as it handles the log forwarding.

[https://fluentbit.io/](https://fluentbit.io/)

Cheers

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 29, 2019, 5:50pm UTC](https://discuss.elastic.co/t/log-rotation-help/197251/4 "2019-08-29T17:50:49Z")

</div>

Which logs are you talking about?

---

<div class="post-metadata">

**Author:** ![shappy123](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shappy123/32/51133_2.png) [@shappy123](https://discuss.elastic.co/u/shappy123)\
**Post date:** [August 30, 2019, 2:26am UTC](https://discuss.elastic.co/t/log-rotation-help/197251/5 "2019-08-30T02:26:23Z")

</div>

The logs which the k8s pods generate and are forwarded to Kibana..through Fluentbit

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 30, 2019, 5:38am UTC](https://discuss.elastic.co/t/log-rotation-help/197251/6 "2019-08-30T05:38:06Z")

</div>

That seems to be a FluentD question then and this is probably not the correct forum for that. If you switched to Filebeat you would probably be able to get better support from this forum as it is an Elastic product that does the same job.

---

<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:** [September 27, 2019, 5:38am UTC](https://discuss.elastic.co/t/log-rotation-help/197251/7 "2019-09-27T05:38:22Z")

</div>

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