I am doing some extensive data enrichment in my logstash pipeline, where I pull in data from a rest endpoint, generate 50-100 events, and need to enrich each event with data from a text file I load into memory. This all works fine.
I want to do more unit testing, which is more extensive than what seems to work well in the pre-load tests. I can do this with ruby's unit test framework, but I also want to be able to test event generation. I need the logstash-core gem for this (which I have), but it requires manticore.
I must be doing something wrong, because I can see manticore in my environment (gem list), but it always complains that its not there when i try to install logstash-core
brian@DESKTOP-TFD9NL6:/mnt/c/Users/brian/Downloads/logstash-master/logstash-master/build/logstash-8.0.0-SNAPSHOT/vendor/bundle/jruby/2.5.0/gems/manticore-0.6.4-java$ gem list
*** LOCAL GEMS ***
did_you_mean (1.2.0)
manticore (0.6.4 java)
minitest (5.10.3)
net-telnet (0.1.1)
openssl_pkcs8_pure (0.0.0.2)
power_assert (0.2.7)
rake (12.3.1)
test-unit (3.2.5)
brian@DESKTOP-TFD9NL6:/dev/logstash-8.0.0-SNAPSHOT/vendor/bundle/jruby/2.5.0/gems/manticore-0.6.4-java$ gem install /mnt/c/Users/brian/Downloads/logstash-core-7.3.1-java.gem
ERROR: Could not find a valid gem 'manticore' (~> 0.6) (required by '/mnt/c/Users/brian/Downloads/logstash-core-7.3.1-java.gem' (>= 0)) in any repository
ERROR: Possible alternatives: MINT-core, ant-core, antinode, anvil-core, fat_core
I feel like I am doing this kind of testing wrong. How am I supposed to be doing this?