Hello! I recently upgraded my elasticsearch and kibana from 8.3 to 8.11. elasticsearch is running fine but I can not get kibana to start after the upgrade. I installed Kibana via manual Deb and am using the same .yml file from my 8.3 version. I started Kibana via systemctl.
(I took this over from someone who previously setup the elk stack so I tried to keep everything the same).
I get the following error log from journalctl.
Nov 22 12:05:16 sr0005eldev01 kibana[3907267]: error: option '-l, --log-file <path>' argument missing
Nov 22 12:05:16 sr0005eldev01 kibana[3907267]: {"log.level":"info","@timestamp":"2023-11-22T18:05:16.578Z","log":{"logger":"elastic-apm-node"},"agentVersion":"4.0.0","env":{"pid":3907267,">
Nov 22 12:05:15 sr0005eldev01 systemd[1]: Started Kibana.
Nov 22 12:05:15 sr0005eldev01 systemd[1]: kibana.service: Consumed 1.060s CPU time.
Nov 22 12:05:15 sr0005eldev01 systemd[1]: Stopped Kibana.
Nov 22 12:05:15 sr0005eldev01 systemd[1]: kibana.service: Scheduled restart job, restart counter is at 2.
Nov 22 12:05:05 sr0005eldev01 systemd[1]: kibana.service: Consumed 1.060s CPU time.
Nov 22 12:05:05 sr0005eldev01 systemd[1]: kibana.service: Failed with result 'exit-code'.
Nov 22 12:05:05 sr0005eldev01 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Nov 22 12:05:05 sr0005eldev01 kibana[3907250]: error: option '-l, --log-file <path>' argument missing
Nov 22 12:05:05 sr0005eldev01 kibana[3907250]: {"log.level":"info","@timestamp":"2023-11-22T18:05:05.611Z","log":{"logger":"elastic-apm-node"},"agentVersion":"4.0.0","env":{"pid":3907250,">
Nov 22 12:05:04 sr0005eldev01 systemd[1]: Started Kibana.
Nov 22 12:05:04 sr0005eldev01 systemd[1]: kibana.service: Consumed 1.056s CPU time.
Nov 22 12:05:04 sr0005eldev01 systemd[1]: Stopped Kibana.
Nov 22 12:05:04 sr0005eldev01 systemd[1]: kibana.service: Scheduled restart job, restart counter is at 1.
Nov 22 12:04:54 sr0005eldev01 systemd[1]: kibana.service: Consumed 1.056s CPU time.
Nov 22 12:04:54 sr0005eldev01 systemd[1]: kibana.service: Failed with result 'exit-code'.
Nov 22 12:04:54 sr0005eldev01 systemd[1]: kibana.service: Main process exited, code=exited, status=1/FAILURE
Nov 22 12:04:54 sr0005eldev01 kibana[3907232]: error: option '-l, --log-file <path>' argument missing
Nov 22 12:04:54 sr0005eldev01 kibana[3907232]: {"log.level":"info","@timestamp":"2023-11-22T18:04:54.606Z","log":{"logger":"elastic-apm-node"},"agentVersion":"4.0.0","env":{"pid":3907232,">
Nov 22 12:04:53 sr0005eldev01 systemd[1]: Started Kibana.
My .yml file has it logging set as follows:
logging:
appenders:
file:
type: file
fileName: /var/log/kibana/kibana.log
layout:
type: json
root:
appenders:
-default
-file
I do not have any apm settings in the .yml. I do have a apm.js and node.options file but they do not appear to have anything in them related to this.
Any guidance would be appreciated. I've beat my head against this for a few hours now.