# Controlling harvester settings on kubernetes autodiscovery

**URL:** <https://discuss.elastic.co/t/controlling-harvester-settings-on-kubernetes-autodiscovery/163226>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 7, 2019, 2:37pm UTC](https://discuss.elastic.co/t/controlling-harvester-settings-on-kubernetes-autodiscovery/163226 "2019-01-07T14:37:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kstoney](https://avatars.discourse-cdn.com/v4/letter/k/c68b51/32.png) [@kstoney](https://discuss.elastic.co/u/kstoney)\
**Post date:** [January 7, 2019, 2:37pm UTC](https://discuss.elastic.co/t/controlling-harvester-settings-on-kubernetes-autodiscovery/163226/1 "2019-01-07T14:37:50Z")

</div>

Hi,  
I'm wanting to set the following settings on my kubernetes log file ingestion:

```auto
close_inactive: 10s
harvester_limit: 10

```

However, I can't work out where to put them as the documentation only covers them on on the [log input](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-input-log.html), which I don't have (here is my config):

```auto
    logging.level: error
    filebeat.registry_flush: 2s
    filebeat.overwrite_pipelines: true
    filebeat.config:
      modules:
        path: ${path.config}/modules.d/*.yml
        reload.enabled: false

    filebeat.autodiscover:
      providers:
        - type: kubernetes
          hints.enabled: true

```

Reading [the options for templates](https://www.elastic.co/guide/en/beats/filebeat/current/configuration-autodiscover.html) that looks like I might be able to override the log provider, but only on specific conditions - I want them all?

Please could someone give me a hand as I'm trying to throttle filebeat a bit during extremely busy spikes

---

<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:** [February 4, 2019, 2:37pm UTC](https://discuss.elastic.co/t/controlling-harvester-settings-on-kubernetes-autodiscovery/163226/2 "2019-02-04T14:37:51Z")

</div>

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