Skip to content
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

Error in default path for sql_last_valuue #266

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Karrade7
Copy link

I'm a first time contributor so please check if my syntax matches your style guide.
The default path for sql_last_value is listed as /home/pb/.logstash_jdbc_last_run which is INCORRECT.
This was probably the home drive of the document contributor.
The right directory is the the logstash USER's home drive. In docker it would be /usr/share/logstash/.logstash_jdbc_last_run.

I attempted to show this with "#{ENV['HOME']}"

I got this information from this forum item: https://discuss.elastic.co/t/multiple-jdbc-sql-statements-schedules-ideally/59930/3

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

I'm a first time contributor so please check if my syntax matches your style guide.
The default path for sql_last_value is listed as /home/pb/.logstash_jdbc_last_run which is INCORRECT.
This was probably the home drive of the document contributor.
The right directory is the the logstash USER's home drive. In docker it would be /usr/share/logstash/.logstash_jdbc_last_run.

I attempted to show this with "#{ENV['HOME']}"

I got this information from this forum item: https://discuss.elastic.co/t/multiple-jdbc-sql-statements-schedules-ideally/59930/3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant