My /var/log/message is full of kibana's logs

Hi,

My /var/log/message is full of kibana's logs. It's impossible to find the line I want. Is it possible to prevent kibana from logging here ?

Thanks.

Last lines of my /var/log/message

2019-01-09T14:25:19+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:19Z","tags":["debug","monitoring-ui","kibana-monitoring"],"pid":107988,"message":"Received Kibana Ops event data"}
2019-01-09T14:25:21+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:21Z","tags":["plugin","debug"],"pid":107988,"message":"Checking Elasticsearch version"}
2019-01-09T14:25:21+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:21Z","tags":["debug","legacy","proxy"],"pid":107988,"message":"Event is being forwarded: connection"}
2019-01-09T14:25:21+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:21Z","tags":["trace","legacy","service"],"pid":107988,"message":"Request will be handled by proxy POST:/elasticsearch/_msearch."}
2019-01-09T14:25:22+01:00 hostname kibana[107988]: {"type":"response","@timestamp":"2019-01-09T13:25:21Z","tags":[],"pid":107988,"method":"post","statusCode":200,"req":{"url":"/elasticsearch/_msearch","method":"post","headers":{"host":"localhost:5601","user-agent":"Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0","accept":"application/json, text/plain, */*","accept-language":"en-US,en;q=0.5","accept-encoding":"gzip, deflate","referer":"http://localhost:5601/app/kibana","content-type":"application/x-ndjson","kbn-version":"6.5.2","content-length":"1088","connection":"keep-alive"},"remoteAddress":"127.0.0.1","userAgent":"127.0.0.1","referer":"http://localhost:5601/app/kibana"},"res":{"statusCode":200,"responseTime":115,"contentLength":9},"message":"POST /elasticsearch/_msearch 200 115ms - 9.0B"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"Fetching data from kql collector"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"Fetching data from rollups collector"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"Fetching data from kibana_stats collector"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"Fetching data from kibana collector"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"Fetching data from kibana_settings collector"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"Fetching data from spaces collector"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"Fetching data from canvas collector"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"Fetching data from infraops collector"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"Fetching data from reporting collector"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","stats-collection"],"pid":107988,"message":"not sending [kibana_settings] monitoring document because [undefined] is null or invalid."}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["debug","monitoring-ui","kibana-monitoring"],"pid":107988,"message":"Uploading bulk stats payload to the local cluster"}
2019-01-09T14:25:23+01:00 hostname kibana[107988]: {"type":"log","@timestamp":"2019-01-09T13:25:23Z","tags":["plugin","debug"],"pid":107988,"message":"Checking Elasticsearch version"}

Hello,

There are few options to change where logs are stored and what is logged (i.e.- just errors, nothing, etc.). Check out the logging configurations here: https://www.elastic.co/guide/en/kibana/current/settings.html

Thanks,
Aaron

3 Likes

Hello,

You are right, thanks a lot.

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