# Disable response logging (access log) in Kibana \[7.16.3\]

**URL:** <https://discuss.elastic.co/t/disable-response-logging-access-log-in-kibana-7-16-3/297889>\
**Category:** Kibana\
**Created:** [February 22, 2022, 12:11pm UTC](https://discuss.elastic.co/t/disable-response-logging-access-log-in-kibana-7-16-3/297889 "2022-02-22T12:11:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RdrgPorto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rdrgporto/32/13278_2.png) [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)\
**Post date:** [February 22, 2022, 12:11pm UTC](https://discuss.elastic.co/t/disable-response-logging-access-log-in-kibana-7-16-3/297889/1 "2022-02-22T12:11:33Z")

</div>

Hi, everyone

I have configured **Kibana 7.16.3** logging in order not to be so **verbose**. Here you are an example:

```auto
logging:
  root:
    level: error

```

However, I would like to **disable response information** :

```auto
{"type":"response","@timestamp":"2022-02-22T12:03:55+00:00","tags":[],"pid":6,"method":"post","statusCode":200,"req":{"url":"/api/saved_objects/_bulk_resolve","method":"post","headers":{"host":"kibana:5601","connection":"close","content-length":"70","sec-ch-ua":"\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"98\", \"Microsoft Edge\";v=\"98\"","content-type":"application/json","sec-ch-ua-mobile":"?0","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 Edg/98.0.1108.56","kbn-version":"7.16.3","sec-ch-ua-platform":"\"Windows\"","accept":"*/*","origin":"https://<ip>:<port>","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://<ip>:<port>/app/dashboards","accept-encoding":"gzip, deflate, br","accept-language":"es,es-ES;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"},"remoteAddress":"10.36.0.5","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 Edg/98.0.1108.56","referer":"https://<ip>:<port>/app/dashboards"},"res":{"statusCode":200,"responseTime":82,"contentLength":3742},"message":"POST /api/saved_objects/_bulk_resolve 200 82ms - 3.7KB"}

```

Is it possible?

Thanks in advance,

Regards

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [February 24, 2022, 8:30am UTC](https://discuss.elastic.co/t/disable-response-logging-access-log-in-kibana-7-16-3/297889/2 "2022-02-24T08:30:00Z")

</div>

@jbudz can we please get some help?

Thanks!

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [February 24, 2022, 6:10pm UTC](https://discuss.elastic.co/t/disable-response-logging-access-log-in-kibana-7-16-3/297889/3 "2022-02-24T18:10:38Z")

</div>

When you configure new logging system with

> logging.root.level: error

the response log should not appear.  
I suspect you have `logging.verbose: true` in your config as well. could you remove it? This option will be removed starting from `v8.0`.

If you need to keep it, you can disable logging for `request/response` in the legacy logging system with

```auto
logging:
  events:
    request: "!"
    response: "!"

```

---

<div class="post-metadata">

**Author:** ![RdrgPorto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rdrgporto/32/13278_2.png) [@RdrgPorto](https://discuss.elastic.co/u/RdrgPorto)\
**Post date:** [February 25, 2022, 5:28pm UTC](https://discuss.elastic.co/t/disable-response-logging-access-log-in-kibana-7-16-3/297889/4 "2022-02-25T17:28:07Z")

</div>

Hi, @Mikhail_Shustov

Here you are my **Kibana config** :

```auto
server.port: 5601
server.host: "0.0.0.0"
server.publicBaseUrl: "http://kibana:5601"

elasticsearch.hosts: "https://elasticsearch:9200"

uiSettings.overrides.defaultRoute: "/app/dashboards#/view/Main-dashboard"

elasticsearch.username: ${KIBANA_USERNAME}
elasticsearch.password: ${KIBANA_PASSWORD}
elasticsearch.ssl.verificationMode: certificate
elasticsearch.ssl.certificateAuthorities: "/usr/share/kibana/certificates/root-ca.pem"

logging.root.level: error

xpack.security.encryptionKey: ${SECURITY_ENCRYPTION_KEY}
xpack.reporting.encryptionKey: ${REPORTING_ENCRYPTION_KEY}
xpack.encryptedSavedObjects.encryptionKey: ${SAVED_OBJECTS_ENCRYPTION_KEY}

monitoring.ui.enabled: true
monitoring.ui.logs.index: "elasticsearchlogs-*"
monitoring.ui.container.elasticsearch.enabled: true
monitoring.ui.container.logstash.enabled: true

xpack.security.secureCookies: true

xpack.security.audit.enabled: false

xpack.reporting.enabled: true
xpack.reporting.csv.enablePanelActionDownload: true
xpack.reporting.capture.browser.chromium.disableSandbox: false

```

By adding `logging.quiet: true`, response log does not appear, however, this parameter is deprecated.

Thanks in advance,

Regards

---

<div class="post-metadata">

**Author:** ![Mikhail\_Shustov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_shustov/32/49186_2.png) [@Mikhail\_Shustov](https://discuss.elastic.co/u/Mikhail_Shustov)\
**Post date:** [March 2, 2022, 6:15pm UTC](https://discuss.elastic.co/t/disable-response-logging-access-log-in-kibana-7-16-3/297889/5 "2022-03-02T18:15:59Z")

</div>

I don't see anything that might lead to these logs being written.

> By adding `logging.quiet: true` , response log does not appear, however, this parameter is deprecated.

Let's use it as a temporary workaround. It would be interesting to check whether an upgrade to `v8.0` resolves the problem.

---

<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 30, 2022, 6:16pm UTC](https://discuss.elastic.co/t/disable-response-logging-access-log-in-kibana-7-16-3/297889/6 "2022-03-30T18:16:52Z")

</div>

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