I do not see log path details in kibana.yml file, however, I added a value (logging.dest: /var/../log/kibana.log) and restarted the kibana service. Unfortunately, this kibana service didn't come up. I had to comment for the newly added line and started the kibana to restore the service.
What would be the best process for custom log path for kibana servcie?
Hello @venkat_tammi
-
Could you please share the kibana version?
-
Ensure the directory you are specifying in logging.dest exists.
-
Check the user has correct permissions to the folder for logging.
As starting 7.10.0 we need to follow below logging configuration
logging:
appenders:
file:
type: file
fileName: /var/log/kibana.log
layout:
type: pattern
root:
appenders: [file]
Thanks!!
Thank you Tortoise, here are the my answers
- My kibana version would be:"8.10.0"
- please give me full path for logging.dest, so that I will cross check and let you know.
- User has all permissions, however, please share details for custom logging configuration for kibana?
Hello @venkat_tammi
As per the below documentation :
The logging section example :
logging:
appenders:
file:
type: file
fileName: /var/log/kibana.log
layout:
type: pattern
root:
appenders: [file]
Thanks!!