How to stop sending kibana dashboard logs into nginx access.log


(Vijayakrishna Gade) #1

we are using Nginx as reverse proxy to access Kibana Dashboard, it meas we are using Nginx proxy URL to access Kibana Dashboard.

we have noticed that, when we hit Kibana Dashboards it is generating lot of logs and sending into nginx access.log file, does anybody know how to to stop sending all the kibana related logs into Nginx?, please suggest me, Thanks.

Here is the log generated:

[2019-01-09T00:51:55+00:00] vip="x.x.x.x" http_method="POST" uri="/api/console/proxy" status_code="200" payload_size="274" http_ua="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36" request_time="0.069" response_time="0.069" env="-" rid="-" event_action="-" request_uri="/api/console/proxy?path=_aliases&method=GET" affectedMarkets="oth" version="" proxy_url="http://<kiban url>:5601" load_test="false"


(Mark Walkom) #2

How do you send the logs to Elasticsearch?


(Vijayakrishna Gade) #3

We are using Fluentd to forward logs from kubernetes to Elasticsearch and filebeat to send logs from Nginx to Elasticsearch.

We are accessing Kibana Dashboard through Nginx Reverse DNS.


(Mark Walkom) #4

You can filter events out with Filebeat - https://www.elastic.co/guide/en/beats/filebeat/current/drop-event.html