João Duarte
João Duarte
the use case came from a user that had a dictionary of postal codes to locations but sometimes the data from events wasn't very precise and the idea was to...
can you check if adding `127.0.0.1 myhostname` to `/etc/hosts` makes that faster?
Running the tests I get: ``` Run options: exclude {:redis=>true, :socket=>true, :performance=>true, :couchdb=>true, :elasticsearch=>true, :elasticsearch_secure=>true, :broken=>true, :export_cypher=>true, :integration=>true} .F......... Failures: 1) LogStash::Filters::Multiline integrations should merge messages arrays as Java ArrayList...
Still getting the same error, that comes from within [this cycle](https://github.com/logstash-plugins/logstash-filter-multiline/blob/master/lib/logstash/filters/multiline.rb#L270-L272): ``` ruby data = events.inject({}) do |result, event| self.class.event_hash_merge!(result, event.to_hash_with_metadata, dups_key) end ```
this can be replicated with: ``` /tmp/logstash-6.5.2 % echo '{"array": []}' | bin/logstash -e "input { stdin { codec => json } } filter { geoip { source => 'array'...
~~this no longer happens since 1.0.1, please upgrade to the most recent version of logstash-filter-json to avoid the issue~~ this was fixed in 2.0.3, but there is no patch for...
Would you consider adding a test showing the expected behaviour regarding @timestamp? For examples of tests you can check https://github.com/logstash-plugins/logstash-filter-multiline/blob/master/spec/filters/multiline_spec.rb#L119-L133
Using the example in the opening post seems to work correctly on Logstash 8.7.0: ``` /tmp/logstash-8.7.0 ❯ echo '{"0": "d49d666e-8b6c-11e9-92bb-000ec6bbcc56", "1": "d49e503a-8b6c-11e9-a67b-000ec6bbcc56", "2": "d49e503b-8b6c-11e9-927c-000ec6bbcc56", "3": "d49e503c-8b6c-11e9-9a53-000ec6bbcc56", "4": "d49e503d-8b6c-11e9-b1da-000ec6bbcc56", "5": "d49e503e-8b6c-11e9-99a1-000ec6bbcc56",...
Impact on 7.2.0 -> 7.2.1 can be easily observed. For the following pipelines.yaml: ```yaml - pipeline.id: source config.string: "input { generator { count => 20000000 } } output { pipeline...
Hi @sasikiranvaddi since we haven't been able to reproduce on our side, can you check if a more modern Logstash, using the bundled jdk (8.15.0 bundles JDK 21) still shows...