
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
logstash-output-edge_prom
Advanced tools
For information about how to use this plugin see this documentation.
First, make sure you have JDK version 8
or 11
installed and you have set the JAVA_HOME
environment variable.
You need to setup JRuby environment to build this plugin. Refer https://github.com/rbenv/rbenv for setting up your rbenv environment.
After setting up rbenv
. Install JRuby
rbenv install jruby-9.2.10.0
rbenv local jruby-9.2.10.0
Check that the environment is configured
ruby --version
jruby 9.2.10
You should make sure you are running jruby
and not ruby
. If the command ruby --version
still shows ruby
and not jruby
, check that PATH contains $HOME/.rbenv/shims
and $HOME/.rbenv/bin
. Also verify that you have this in your bash profile:
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
Then install bundler:
gem install bundler:2.1.4
Follow those instructions to install logstash before moving to the next section.
git clone git@github.com:elastic/logstash.git
cd logstash
git checkout tags/v7.16.1
export LOGSTASH_PATH="$(pwd)"
export GEM_PATH="$LOGSTASH_PATH/vendor/bundle/jruby/2.5.0"
export GEM_HOME="$LOGSTASH_PATH/vendor/bundle/jruby/2.5.0"
./gradlew assemble
cd ..
ruby -S bundle /config set --local path "$LOGSTASH_PATH/vendor/bundle"
ruby -S bundle install
ruby -S bundle exec rake vendor
gem build logstash-output-loki.gemspec
ruby -S bundle exec rspec
Alternatively if you don't want to install JRuby. Enter inside logstash-loki container.
docker build -t logstash-loki ./
docker run -v $(pwd)/spec:/home/logstash/spec -it --rm --entrypoint /bin/sh logstash-loki
bundle exec rspec
bin/logstash-plugin install --no-verify --local logstash-output-loki-1.0.0.gem
bin/logstash -f loki.conf
FAQs
Unknown package
We found that logstash-output-edge_prom demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.