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

How to define 'LOGSTASH_CORE_PATH'? #2

Closed
zhihui-ge opened this issue Mar 21, 2019 · 1 comment
Closed

How to define 'LOGSTASH_CORE_PATH'? #2

zhihui-ge opened this issue Mar 21, 2019 · 1 comment

Comments

@zhihui-ge
Copy link

Could not get unknown property 'LOGSTASH_CORE_PATH' for object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Open File

compile fileTree(dir: LOGSTASH_CORE_PATH, include: "**/logstash-core-?.?.?.jar")

@danhermann
Copy link
Contributor

@zhihui-ge, thank you for trying the new codec API. Unfortunately, it was the last part of the API to get full documentation, so the instructions for defining LOGSTASH_CORE_PATH were not included in this release but will be included in the upcoming 6.7 release of Logstash.

Briefly, you need to create a file named gradle.properties that defines LOGSTASH_CORE_PATH as the path to a local copy of the Logstash codebase. This is properly documented for the filter plugin at the link below if you wish to refer to that:

https://www.elastic.co/guide/en/logstash/6.6/java-filter-plugin.html#_set_up_your_environment_2

I'm going to close this issue for now, but if you have any other problems, please let us know either with an issue here or by posting a question in this forum thread: https://discuss.elastic.co/t/ama-java-plugins-in-logstash/171535

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

No branches or pull requests

2 participants