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
WARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash #6921
Comments
can be closed, needs to be run as user
works! |
Getting error Java is not in Path but it definitely is in the path root@ubuntu-16:~# sudo -Hu logstash /usr/share/logstash/bin/logstash --path.settings=/etc/logstash -t root@ubuntu-16:~# update-alternatives --config java root@ubuntu-16:~# echo $JAVA_HOME |
sudo resets your environment in most cases. What is the full output of |
|
not sure why it formatted the text with cross through... |
@sconrod-tester it saw the JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre/bin/java This is probably not right, it should be the path to the root of the java install, I think |
Ok I see my issue, I had to update the /etc/environment with: |
Did this fix it for you? |
No I am still getting the error when i try to load the pipeline: |
^^ this your JAVA_HOME problem is resolved. You are somehow missing a instruction to Logstash to have it know where to find configuration. I recommend you ask about this on https://discuss.elastic.co/ as you may find better getting-started assistance there. |
Hi, My logastash.yml is configured correctly to find the configuration files as per the article here: Where to fetch the pipeline configuration for the main pipelinepath.config: /etc/logstash/conf.d |
root@ubuntu-16:/usr/share/logstash# /usr/share/logstash/bin/logstash --default.path.conf=/etc/logstash/conf.d/ |
Hi I am still getting the error when trying to initialize a new pipeline:
WARNING: Could not find logstash.yml which is typically located in
$LS_HOME/config or /etc/logstash. You can specify the path using
--path.settings. Continuing using the defaults
Could not find log4j2 configuration at path
/usr/share/logstash/config/log4j2.properties. Using default config which
logs errors to the console
verified Java is set correctly in the path.
Ideas?
…On Tue, Nov 7, 2017 at 2:28 PM, Jordan Sissel ***@***.***> wrote:
^^ this your JAVA_HOME problem is resolved. You are somehow missing a
instruction to Logstash to have it know where to find configuration.
I recommend you ask about this on https://discuss.elastic.co/ as you may
find better getting-started assistance there.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6921 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMwBUSfU5YOzwwF6pfs6u6V1_x6DxHhDks5s0NmEgaJpZM4M90qz>
.
|
As root:
makes configtest pretty useless...
The text was updated successfully, but these errors were encountered: