Hi There,
I run kibana on docker-compose, but I cannot see the logfiles.
Here is the part of the docker compose file with volumes mapped:
indent preformatted text by 4 spaces
volumes:
- /srv/Docker/config:/usr/share/kibana/config
- /srv/Docker/logs:/usr/share/kibana/logs`
/srv/Docker/logs & config has full rights (temporarily)
Here is the output of kibana.yml:
`server.port: 5601
server.host: "0.0.0.0"
server.name: "kib01d"
elasticsearch.hosts: ["https://xxxx:9200","https://xxx:9200","https://xxx:9200"]
server.ssl.enabled: true
elasticsearch.username: "kibana_system"
elasticsearch.password: "xxx"
server.ssl.certificate: /usr/share/kibana/config/certs/xxx.crt
server.ssl.key: /usr/share/kibana/config/certs/xxx.key
elasticsearch.ssl.certificateAuthorities: [ "/usr/share/kibana/config/certs/ca/ca.crt" ]
elasticsearch.ssl.verificationMode: certificate
pid.file: /usr/share/kibana/kibana.pid
logging.verbose: true
logging.dest: "/usr/share/kibana/logs"
When I set the logging.dest: "/usr/share/kibana/logs as above i received this:
Blockquote
| events.js:174
uelkkib01d | throw er; // Unhandled 'error' event
uelkkib01d | ^
uelkkib01d |
uelkkib01d | Error: EISDIR: illegal operation on a directory, open '/usr/share/kibana/logs'
uelkkib01d | Emitted 'error' event at:
uelkkib01d | at errorOrDestroy (internal/streams/destroy.js:107:12)
uelkkib01d | at WriteStream.onerror (_stream_readable.js:734:7)
uelkkib01d | at WriteStream.emit (events.js:198:13)
uelkkib01d | at lazyFs.open (internal/fs/streams.js:277:12)
uelkkib01d | at FSReqWrap.args [as oncomplete] (fs.js:140:20)
Blockquote
Is there any idea what's going wrong here ? I can see the console log from docker file when I remove : " logging.dest: "/usr/share/kibana/logs" and kibana starts to work normally.