-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packages using systemd should log to /var/log/kibana #6579
Comments
Any idea when this was introduced? |
I'm not sure, but I had a script on my Ubuntu VM that had previously worked and it was checking the log like this; So I know at one time it did. OHHH, but at one point I was doing the steps to add the repo and doing But I'm installing elasticsearch the same dpkg way and it IS writing logs to /var/log/elasticsearch/ |
@LeeDr are you using systemd? It has a built in logger that's used instead. |
Ah yes, you're right. I think we're OK to close this. Just wondering if there's any docs referring to /var/log/kibana that need any adjustment now or soon. In my case, I upgraded my Ubuntu to 15.10 because that's where the jdk 8 is supported and that's required for the 5.0 release. |
Just took a look around and didn't see any references. I'm going to close this for now, we can reopen if something comes up. |
I helped some folks set up Elastic lately and installing Kibana 5.1 with the Given that Elasticsearch is logging nicely into Re-opening this as @jbudz suggested - I'm also happy to open a new issue, let me know. |
I agree with @cwurm. I ran into the same issue testing 5.3. In fact our current docs say:
Which appears to be false. There's no mention of |
Seeing the same thing in 5.5. under Centos 7 / Systemd. There's no |
Can we fix the docs in the meantime? https://www.elastic.co/guide/en/kibana/current/deb.html#deb-running-systemd May be advice using |
It appears that #16372 will fix this issue, this will make packaged Kibana installations log to |
I'm not totally clear on what the status of this issue is, couldn't tell if #16372 was merged before being closed. In any case I'm still seeing the issue with Kibana 6.2.4 from the Elastic APT repo. Upon startup using systemd on Debian 9 there is no logging to |
16372 was closed, and this issue is still valid. |
This is also affecting RPM builds, which are pushing to |
This is from an RPM build, but it seems our systemd build jobs make no explicit statement on default log path; ExecStart=/usr/share/kibana/bin/kibana "-c /etc/kibana/kibana.yml" Contrastingly, our init scripts explicitly redirect console output as expected: # Run the program!
chroot --userspec "$user":"$group" "$chroot" sh -c "
cd \"$chdir\"
exec \"$program\" $args
" >> /var/log/kibana/kibana.stdout 2>> /var/log/kibana/kibana.stderr & |
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: elastic#6579
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: #6579
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: elastic#6579
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: elastic#6579
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: elastic#6579
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: elastic#6579
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: elastic#6579
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: elastic#6579
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: elastic#6579
At least for kibana-oss 7.4, this is how I can access Kibana logs. The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there. See also: elastic#6579
I installed Kibana from a package manager on OpenSUSE 15.1, and it didn't log to /var/log/kibana by default. In fact, it didn't even create the directory. It also didn't create /var/log/kibana.log when I manually specified the log destination, and I had to touch and chown the file myself before it started working. What am I missing? Kibana 7.6.2 from https://artifacts.elastic.co/packages/7.x/yum. Thanks. |
On Ubuntu 15.10 I installed http://download.elasticsearch.org/kibana/kibana-snapshot/kibana_4.5.0-snapshot_amd64.deb and did not get a /var/log/kibana directory created. Kibana logs are going in /var/log/syslog instead. I know they were going into /var/log/kibana at one time.
The text was updated successfully, but these errors were encountered: