logstash-input-neo4j 0.9.0-java → 0.9.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +13 -5
- data/CONTRIBUTORS +9 -0
- data/LICENSE +1 -1
- data/README.md +85 -3
- data/Rakefile +2 -0
- data/lib/logstash/inputs/neo4j-client.rb +1 -2
- data/lib/logstash/inputs/neo4j.rb +7 -7
- data/logstash-input-neo4j.gemspec +2 -3
- data/spec/fixtures/graph.db/active_tx_log +1 -0
- data/spec/fixtures/graph.db/index/lucene-store.db +0 -0
- data/spec/fixtures/graph.db/neostore +0 -0
- data/spec/inputs/neo4j-client_spec.rb +2 -2
- data/spec/inputs/neo4j_spec.rb +14 -4
- data/spec/spec_helper.rb +3 -29
- metadata +4 -288
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06a4649eec8bee615fa077c7d0dcf67627de5942
|
4
|
+
data.tar.gz: 540a1f6130fce0df3b488e067a19cd573cc1f410
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cabe4bda99698843056e9c5839ce72bd81a83054061580d702ca0a1b081ee4dc4f4f8f06609ec236c178d930ddbf108bd272b5b59b3d63e5ace5156edcaef8a4
|
7
|
+
data.tar.gz: ff86ab25fe3805fcaded1b71534c474fe65c766f46ddf7c1f5330f58a77c29ea73408e8278f0d3d27bbedd4dad4018c22d5cc3b4bad40a816b6712a77767b61a
|
data/.gitignore
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
*.lock
|
1
2
|
*.gem
|
2
3
|
*.rbc
|
3
4
|
/.config
|
@@ -22,15 +23,22 @@ build/
|
|
22
23
|
|
23
24
|
## Environment normalisation:
|
24
25
|
/.bundle/
|
26
|
+
/vendor/bundle
|
25
27
|
/lib/bundler/man/
|
26
28
|
|
27
29
|
# for a library or gem, you might want to ignore these files since the code is
|
28
30
|
# intended to run in multiple environments; otherwise, check them in:
|
29
|
-
Gemfile.lock
|
30
|
-
.ruby-version
|
31
|
-
.ruby-gemset
|
31
|
+
# Gemfile.lock
|
32
|
+
# .ruby-version
|
33
|
+
# .ruby-gemset
|
32
34
|
|
33
35
|
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
34
36
|
.rvmrc
|
35
|
-
|
36
|
-
|
37
|
+
|
38
|
+
# fixtures log files
|
39
|
+
spec/fixtures/graph.db/nioneo_logical.log.*
|
40
|
+
spec/fixtures/graph.db/tm_tx_log*
|
41
|
+
spec/fixtures/graph.db/index/lucene.log.*
|
42
|
+
spec/fixtures/graph.db/messages.log
|
43
|
+
spec/fixtures/graph.db/index/lucene-store.db
|
44
|
+
spec/fixtures/graph.db/neostore
|
data/CONTRIBUTORS
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
The following is a list of people who have contributed ideas, code, bug
|
2
|
+
reports, or in general have helped logstash along its way.
|
3
|
+
|
4
|
+
Contributors:
|
5
|
+
|
6
|
+
Note: If you've sent us patches, bug reports, or otherwise contributed to
|
7
|
+
Logstash, and you aren't on the list above and want to be, please let us know
|
8
|
+
and we'll make sure you're here. Contributions from folks like you are what make
|
9
|
+
open source awesome.
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,86 @@
|
|
1
|
-
|
2
|
-
=====================
|
1
|
+
# Logstash Plugin
|
3
2
|
|
4
|
-
This is
|
3
|
+
This is a plugin for [Logstash](https://github.com/elasticsearch/logstash).
|
4
|
+
|
5
|
+
It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
|
6
|
+
|
7
|
+
## Documentation
|
8
|
+
|
9
|
+
Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elasticsearch.org/guide/en/logstash/current/).
|
10
|
+
|
11
|
+
- For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
|
12
|
+
- For more asciidoc formatting tips, see the excellent reference here https://github.com/elasticsearch/docs#asciidoc-guide
|
13
|
+
|
14
|
+
## Need Help?
|
15
|
+
|
16
|
+
Need help? Try #logstash on freenode IRC or the logstash-users@googlegroups.com mailing list.
|
17
|
+
|
18
|
+
## Developing
|
19
|
+
|
20
|
+
### 1. Plugin Developement and Testing
|
21
|
+
|
22
|
+
#### Code
|
23
|
+
- To get started, you'll need JRuby with the Bundler gem installed.
|
24
|
+
|
25
|
+
- Create a new plugin or clone and existing from the GitHub [logstash-plugins](https://github.com/logstash-plugins) organization. We also provide [example plugins](https://github.com/logstash-plugins?query=example).
|
26
|
+
|
27
|
+
- Install dependencies
|
28
|
+
```sh
|
29
|
+
bundle install
|
30
|
+
```
|
31
|
+
|
32
|
+
#### Test
|
33
|
+
|
34
|
+
- Update your dependencies
|
35
|
+
|
36
|
+
```sh
|
37
|
+
bundle install
|
38
|
+
```
|
39
|
+
|
40
|
+
- Run tests
|
41
|
+
|
42
|
+
```sh
|
43
|
+
bundle exec rspec
|
44
|
+
```
|
45
|
+
|
46
|
+
### 2. Running your unpublished Plugin in Logstash
|
47
|
+
|
48
|
+
#### 2.1 Run in a local Logstash clone
|
49
|
+
|
50
|
+
- Edit Logstash `Gemfile` and add the local plugin path, for example:
|
51
|
+
```ruby
|
52
|
+
gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
|
53
|
+
```
|
54
|
+
- Install plugin
|
55
|
+
```sh
|
56
|
+
bin/plugin install --no-verify
|
57
|
+
```
|
58
|
+
- Run Logstash with your plugin
|
59
|
+
```sh
|
60
|
+
bin/logstash -e 'filter {awesome {}}'
|
61
|
+
```
|
62
|
+
At this point any modifications to the plugin code will be applied to this local Logstash setup. After modifying the plugin, simply rerun Logstash.
|
63
|
+
|
64
|
+
#### 2.2 Run in an installed Logstash
|
65
|
+
|
66
|
+
You can use the same **2.1** method to run your plugin in an installed Logstash by editing its `Gemfile` and pointing the `:path` to your local plugin development directory or you can build the gem and install it using:
|
67
|
+
|
68
|
+
- Build your plugin gem
|
69
|
+
```sh
|
70
|
+
gem build logstash-filter-awesome.gemspec
|
71
|
+
```
|
72
|
+
- Install the plugin from the Logstash home
|
73
|
+
```sh
|
74
|
+
bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
|
75
|
+
```
|
76
|
+
- Start Logstash and proceed to test the plugin
|
77
|
+
|
78
|
+
## Contributing
|
79
|
+
|
80
|
+
All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.
|
81
|
+
|
82
|
+
Programming is not a required skill. Whatever you've seen about open source and maintainers or community members saying "send patches or die" - you will not see that here.
|
83
|
+
|
84
|
+
It is more important to the community that you are able to contribute.
|
85
|
+
|
86
|
+
For more information about contributing, see the [CONTRIBUTING](https://github.com/elasticsearch/logstash/blob/master/CONTRIBUTING.md) file.
|
data/Rakefile
CHANGED
@@ -4,7 +4,6 @@ require "neo4j"
|
|
4
4
|
module Neo4jrb
|
5
5
|
class Client
|
6
6
|
|
7
|
-
public
|
8
7
|
def self.open(location)
|
9
8
|
session = start_session_at(location)
|
10
9
|
Neo4jrb::Client.new(session)
|
@@ -39,7 +38,7 @@ module Neo4jrb
|
|
39
38
|
|
40
39
|
def self.start_session_at(location)
|
41
40
|
if Neo4j::Session.current.nil?
|
42
|
-
session = ::Neo4j::Session.open(:embedded_db, location, auto_commit
|
41
|
+
session = ::Neo4j::Session.open(:embedded_db, location, :auto_commit => true)
|
43
42
|
session.start
|
44
43
|
end
|
45
44
|
Neo4j::Session.current
|
@@ -1,7 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
require "logstash/inputs/base"
|
3
3
|
require "logstash/namespace"
|
4
|
-
require "logstash/inputs/neo4j-client"
|
5
4
|
|
6
5
|
# This plugin gets data from a Neo4j database in predefined intervals. To fetch
|
7
6
|
# this data uses a given Cypher query.
|
@@ -36,7 +35,8 @@ class LogStash::Inputs::Neo4j < LogStash::Inputs::Base
|
|
36
35
|
config :path, :validate => :string, :required => true
|
37
36
|
|
38
37
|
# Schedule of when to periodically run statement, in Cron format
|
39
|
-
# for example: "* * * * *" (execute query every minute, on the minute)
|
38
|
+
# for example: "* * * * *" (execute query every minute, on the minute).
|
39
|
+
# If this variable is not specified then this input will run only once
|
40
40
|
config :schedule, :validate => :string
|
41
41
|
|
42
42
|
public
|
@@ -48,16 +48,16 @@ class LogStash::Inputs::Neo4j < LogStash::Inputs::Base
|
|
48
48
|
|
49
49
|
def run(queue)
|
50
50
|
if @schedule
|
51
|
-
|
51
|
+
setup_scheduler(queue)
|
52
52
|
else
|
53
53
|
fetch(queue)
|
54
54
|
end
|
55
55
|
end # def run
|
56
56
|
|
57
57
|
private
|
58
|
-
def
|
58
|
+
def setup_scheduler(queue)
|
59
59
|
@scheduler = Rufus::Scheduler.new
|
60
|
-
@scheduler.cron
|
60
|
+
@scheduler.cron(@schedule) do
|
61
61
|
fetch(queue)
|
62
62
|
end
|
63
63
|
@scheduler.join
|
@@ -78,10 +78,10 @@ class LogStash::Inputs::Neo4j < LogStash::Inputs::Base
|
|
78
78
|
(1...nodes.count).each do |i|
|
79
79
|
rel = nodes[i]
|
80
80
|
payload = { "props" => rel.props }
|
81
|
-
payload["labels"] =
|
81
|
+
payload["labels"] = rel.respond_to?(:labels) ? rel.labels : "Relationship"
|
82
82
|
object["_rels"] << payload
|
83
83
|
end
|
84
|
-
{ "message" => object
|
84
|
+
{ "message" => LogStash::Json.dump(object), "host" => @client.session.inspect}
|
85
85
|
end
|
86
86
|
|
87
87
|
end # class LogStash::Inputs::Neo4j
|
@@ -1,11 +1,11 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-neo4j'
|
4
|
-
s.version = '0.9.
|
4
|
+
s.version = '0.9.1'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Logstash Input for Neo4j"
|
7
7
|
s.description = "Output events to Neo4j"
|
8
|
-
s.authors = ["Pere Urbon-Bayes"]
|
8
|
+
s.authors = ["Pere Urbon-Bayes", "Elastic"]
|
9
9
|
s.email = 'pere.urbon@gmail.com'
|
10
10
|
s.homepage = "http://purbon.com/"
|
11
11
|
s.require_paths = ["lib"]
|
@@ -20,7 +20,6 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
|
21
21
|
|
22
22
|
s.add_runtime_dependency 'logstash-core', '>= 1.4.0', '< 2.0.0'
|
23
|
-
s.add_runtime_dependency 'jar-dependencies'
|
24
23
|
s.add_runtime_dependency 'rufus-scheduler', '3.0.9'
|
25
24
|
|
26
25
|
if RUBY_PLATFORM == 'java'
|
@@ -0,0 +1 @@
|
|
1
|
+
tm_tx_log.1
|
Binary file
|
Binary file
|
data/spec/inputs/neo4j_spec.rb
CHANGED
@@ -1,13 +1,23 @@
|
|
1
|
-
require
|
1
|
+
require "spec_helper"
|
2
2
|
require "logstash/plugin"
|
3
3
|
require "logstash/json"
|
4
4
|
|
5
|
-
describe
|
5
|
+
describe LogStash::Inputs::Neo4j do
|
6
6
|
|
7
7
|
let(:path) { "spec/fixtures/graph.db" }
|
8
|
+
|
8
9
|
let(:query) { "MATCH (p:`Person`)-[r]->(m:`Movie`) WHERE m.released = 2000 RETURN *" }
|
9
10
|
let(:plugin) { LogStash::Plugin.lookup("input", "neo4j").new( {"path" => path, "query" => query} ) }
|
10
11
|
|
12
|
+
let(:dummy_client) { double("dummy-neo4j-client") }
|
13
|
+
let(:dummy_node) { { :labels => "Movie", :props => {:title=>"The Replacements", :released=>2000, :tagline=>"Pain heals"} } }
|
14
|
+
|
15
|
+
before do
|
16
|
+
allow(Neo4jrb::Client).to receive(:open).and_return(dummy_client)
|
17
|
+
allow(dummy_client).to receive(:execute_query).and_yield([ OpenStruct.new(dummy_node) ] )
|
18
|
+
allow(dummy_client).to receive(:session).and_return( "dummy_session" )
|
19
|
+
end
|
20
|
+
|
11
21
|
it "register without errors" do
|
12
22
|
expect { plugin.register }.to_not raise_error
|
13
23
|
end
|
@@ -22,11 +32,11 @@ describe "inputs/neo4j" do
|
|
22
32
|
|
23
33
|
before do
|
24
34
|
plugin.register
|
25
|
-
plugin.run
|
35
|
+
plugin.run(logstash_queue)
|
26
36
|
end
|
27
37
|
|
28
38
|
it "retrieve data from neo4j" do
|
29
|
-
expect(logstash_queue.size).to eq(
|
39
|
+
expect(logstash_queue.size).to eq(1)
|
30
40
|
end
|
31
41
|
|
32
42
|
it "retrieve data in the expected format" do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,34 +1,8 @@
|
|
1
1
|
require "logstash/devutils/rspec/spec_helper"
|
2
|
-
require
|
2
|
+
require "logstash/inputs/neo4j"
|
3
|
+
require "logstash/inputs/neo4j-client"
|
4
|
+
require 'ostruct'
|
3
5
|
|
4
6
|
def load_fixture(name)
|
5
7
|
IO.read("spec/fixtures/#{name}")
|
6
8
|
end
|
7
|
-
|
8
|
-
RSpec.configure do |config|
|
9
|
-
|
10
|
-
config.before(:suite) do
|
11
|
-
session = Neo4j::Session.open(:embedded_db, 'spec/fixtures/graph.db', auto_commit: true)
|
12
|
-
session.start
|
13
|
-
end
|
14
|
-
|
15
|
-
config.after(:suite) do
|
16
|
-
Neo4j::Session.current.shutdown
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
20
|
-
|
21
|
-
def to_arr(root)
|
22
|
-
Neo4j::Transaction.run do
|
23
|
-
session.graph_db.get_all_nodes.to_a.map { |m| "#{m.props[:_classname]}##{m.props[:value]||'NaN'}" }
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
def has_child(source_clazz, source_value, target_clazz, target_value)
|
28
|
-
source_clazz.where({:value => source_value}).map do |n|
|
29
|
-
n.nodes(dir: :outgoing, :type => :child).select do |m|
|
30
|
-
m.is_a?(target_clazz) && (!m.is_a?(::TimeTree::Root) && m.props[:value] == target_value)
|
31
|
-
end
|
32
|
-
end.flatten
|
33
|
-
end
|
34
|
-
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-neo4j
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Pere Urbon-Bayes
|
8
|
+
- Elastic
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2015-03
|
12
|
+
date: 2015-05-03 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: logstash-core
|
@@ -30,20 +31,6 @@ dependencies:
|
|
30
31
|
version: 2.0.0
|
31
32
|
prerelease: false
|
32
33
|
type: :runtime
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: jar-dependencies
|
35
|
-
version_requirements: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - '>='
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '0'
|
40
|
-
requirement: !ruby/object:Gem::Requirement
|
41
|
-
requirements:
|
42
|
-
- - '>='
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: '0'
|
45
|
-
prerelease: false
|
46
|
-
type: :runtime
|
47
34
|
- !ruby/object:Gem::Dependency
|
48
35
|
name: rufus-scheduler
|
49
36
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -121,6 +108,7 @@ extensions: []
|
|
121
108
|
extra_rdoc_files: []
|
122
109
|
files:
|
123
110
|
- .gitignore
|
111
|
+
- CONTRIBUTORS
|
124
112
|
- Gemfile
|
125
113
|
- LICENSE
|
126
114
|
- README.md
|
@@ -130,74 +118,6 @@ files:
|
|
130
118
|
- logstash-input-neo4j.gemspec
|
131
119
|
- spec/fixtures/graph.db/active_tx_log
|
132
120
|
- spec/fixtures/graph.db/index/lucene-store.db
|
133
|
-
- spec/fixtures/graph.db/index/lucene.log.active
|
134
|
-
- spec/fixtures/graph.db/index/lucene.log.v0
|
135
|
-
- spec/fixtures/graph.db/index/lucene.log.v1
|
136
|
-
- spec/fixtures/graph.db/index/lucene.log.v10
|
137
|
-
- spec/fixtures/graph.db/index/lucene.log.v11
|
138
|
-
- spec/fixtures/graph.db/index/lucene.log.v12
|
139
|
-
- spec/fixtures/graph.db/index/lucene.log.v13
|
140
|
-
- spec/fixtures/graph.db/index/lucene.log.v14
|
141
|
-
- spec/fixtures/graph.db/index/lucene.log.v15
|
142
|
-
- spec/fixtures/graph.db/index/lucene.log.v16
|
143
|
-
- spec/fixtures/graph.db/index/lucene.log.v17
|
144
|
-
- spec/fixtures/graph.db/index/lucene.log.v18
|
145
|
-
- spec/fixtures/graph.db/index/lucene.log.v19
|
146
|
-
- spec/fixtures/graph.db/index/lucene.log.v2
|
147
|
-
- spec/fixtures/graph.db/index/lucene.log.v20
|
148
|
-
- spec/fixtures/graph.db/index/lucene.log.v21
|
149
|
-
- spec/fixtures/graph.db/index/lucene.log.v22
|
150
|
-
- spec/fixtures/graph.db/index/lucene.log.v23
|
151
|
-
- spec/fixtures/graph.db/index/lucene.log.v24
|
152
|
-
- spec/fixtures/graph.db/index/lucene.log.v25
|
153
|
-
- spec/fixtures/graph.db/index/lucene.log.v26
|
154
|
-
- spec/fixtures/graph.db/index/lucene.log.v27
|
155
|
-
- spec/fixtures/graph.db/index/lucene.log.v28
|
156
|
-
- spec/fixtures/graph.db/index/lucene.log.v29
|
157
|
-
- spec/fixtures/graph.db/index/lucene.log.v3
|
158
|
-
- spec/fixtures/graph.db/index/lucene.log.v30
|
159
|
-
- spec/fixtures/graph.db/index/lucene.log.v31
|
160
|
-
- spec/fixtures/graph.db/index/lucene.log.v32
|
161
|
-
- spec/fixtures/graph.db/index/lucene.log.v33
|
162
|
-
- spec/fixtures/graph.db/index/lucene.log.v34
|
163
|
-
- spec/fixtures/graph.db/index/lucene.log.v35
|
164
|
-
- spec/fixtures/graph.db/index/lucene.log.v36
|
165
|
-
- spec/fixtures/graph.db/index/lucene.log.v37
|
166
|
-
- spec/fixtures/graph.db/index/lucene.log.v38
|
167
|
-
- spec/fixtures/graph.db/index/lucene.log.v39
|
168
|
-
- spec/fixtures/graph.db/index/lucene.log.v4
|
169
|
-
- spec/fixtures/graph.db/index/lucene.log.v40
|
170
|
-
- spec/fixtures/graph.db/index/lucene.log.v41
|
171
|
-
- spec/fixtures/graph.db/index/lucene.log.v42
|
172
|
-
- spec/fixtures/graph.db/index/lucene.log.v43
|
173
|
-
- spec/fixtures/graph.db/index/lucene.log.v44
|
174
|
-
- spec/fixtures/graph.db/index/lucene.log.v45
|
175
|
-
- spec/fixtures/graph.db/index/lucene.log.v46
|
176
|
-
- spec/fixtures/graph.db/index/lucene.log.v47
|
177
|
-
- spec/fixtures/graph.db/index/lucene.log.v48
|
178
|
-
- spec/fixtures/graph.db/index/lucene.log.v49
|
179
|
-
- spec/fixtures/graph.db/index/lucene.log.v5
|
180
|
-
- spec/fixtures/graph.db/index/lucene.log.v50
|
181
|
-
- spec/fixtures/graph.db/index/lucene.log.v51
|
182
|
-
- spec/fixtures/graph.db/index/lucene.log.v52
|
183
|
-
- spec/fixtures/graph.db/index/lucene.log.v53
|
184
|
-
- spec/fixtures/graph.db/index/lucene.log.v54
|
185
|
-
- spec/fixtures/graph.db/index/lucene.log.v55
|
186
|
-
- spec/fixtures/graph.db/index/lucene.log.v56
|
187
|
-
- spec/fixtures/graph.db/index/lucene.log.v57
|
188
|
-
- spec/fixtures/graph.db/index/lucene.log.v58
|
189
|
-
- spec/fixtures/graph.db/index/lucene.log.v59
|
190
|
-
- spec/fixtures/graph.db/index/lucene.log.v6
|
191
|
-
- spec/fixtures/graph.db/index/lucene.log.v60
|
192
|
-
- spec/fixtures/graph.db/index/lucene.log.v61
|
193
|
-
- spec/fixtures/graph.db/index/lucene.log.v62
|
194
|
-
- spec/fixtures/graph.db/index/lucene.log.v63
|
195
|
-
- spec/fixtures/graph.db/index/lucene.log.v64
|
196
|
-
- spec/fixtures/graph.db/index/lucene.log.v65
|
197
|
-
- spec/fixtures/graph.db/index/lucene.log.v7
|
198
|
-
- spec/fixtures/graph.db/index/lucene.log.v8
|
199
|
-
- spec/fixtures/graph.db/index/lucene.log.v9
|
200
|
-
- spec/fixtures/graph.db/messages.log
|
201
121
|
- spec/fixtures/graph.db/neostore
|
202
122
|
- spec/fixtures/graph.db/neostore.id
|
203
123
|
- spec/fixtures/graph.db/neostore.labeltokenstore.db
|
@@ -226,73 +146,6 @@ files:
|
|
226
146
|
- spec/fixtures/graph.db/neostore.relationshiptypestore.db.names.id
|
227
147
|
- spec/fixtures/graph.db/neostore.schemastore.db
|
228
148
|
- spec/fixtures/graph.db/neostore.schemastore.db.id
|
229
|
-
- spec/fixtures/graph.db/nioneo_logical.log.active
|
230
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v0
|
231
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v1
|
232
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v10
|
233
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v11
|
234
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v12
|
235
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v13
|
236
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v14
|
237
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v15
|
238
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v16
|
239
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v17
|
240
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v18
|
241
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v19
|
242
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v2
|
243
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v20
|
244
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v21
|
245
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v22
|
246
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v23
|
247
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v24
|
248
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v25
|
249
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v26
|
250
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v27
|
251
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v28
|
252
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v29
|
253
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v3
|
254
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v30
|
255
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v31
|
256
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v32
|
257
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v33
|
258
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v34
|
259
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v35
|
260
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v36
|
261
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v37
|
262
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v38
|
263
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v39
|
264
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v4
|
265
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v40
|
266
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v41
|
267
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v42
|
268
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v43
|
269
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v44
|
270
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v45
|
271
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v46
|
272
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v47
|
273
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v48
|
274
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v49
|
275
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v5
|
276
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v50
|
277
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v51
|
278
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v52
|
279
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v53
|
280
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v54
|
281
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v55
|
282
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v56
|
283
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v57
|
284
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v58
|
285
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v59
|
286
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v6
|
287
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v60
|
288
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v61
|
289
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v62
|
290
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v63
|
291
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v64
|
292
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v65
|
293
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v7
|
294
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v8
|
295
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v9
|
296
149
|
- spec/fixtures/graph.db/schema/label/lucene/_0.fdt
|
297
150
|
- spec/fixtures/graph.db/schema/label/lucene/_0.fdx
|
298
151
|
- spec/fixtures/graph.db/schema/label/lucene/_0.fnm
|
@@ -303,7 +156,6 @@ files:
|
|
303
156
|
- spec/fixtures/graph.db/schema/label/lucene/segments.gen
|
304
157
|
- spec/fixtures/graph.db/schema/label/lucene/segments_1
|
305
158
|
- spec/fixtures/graph.db/store_lock
|
306
|
-
- spec/fixtures/graph.db/tm_tx_log.1
|
307
159
|
- spec/inputs/neo4j-client_spec.rb
|
308
160
|
- spec/inputs/neo4j_spec.rb
|
309
161
|
- spec/spec_helper.rb
|
@@ -336,74 +188,6 @@ summary: Logstash Input for Neo4j
|
|
336
188
|
test_files:
|
337
189
|
- spec/fixtures/graph.db/active_tx_log
|
338
190
|
- spec/fixtures/graph.db/index/lucene-store.db
|
339
|
-
- spec/fixtures/graph.db/index/lucene.log.active
|
340
|
-
- spec/fixtures/graph.db/index/lucene.log.v0
|
341
|
-
- spec/fixtures/graph.db/index/lucene.log.v1
|
342
|
-
- spec/fixtures/graph.db/index/lucene.log.v10
|
343
|
-
- spec/fixtures/graph.db/index/lucene.log.v11
|
344
|
-
- spec/fixtures/graph.db/index/lucene.log.v12
|
345
|
-
- spec/fixtures/graph.db/index/lucene.log.v13
|
346
|
-
- spec/fixtures/graph.db/index/lucene.log.v14
|
347
|
-
- spec/fixtures/graph.db/index/lucene.log.v15
|
348
|
-
- spec/fixtures/graph.db/index/lucene.log.v16
|
349
|
-
- spec/fixtures/graph.db/index/lucene.log.v17
|
350
|
-
- spec/fixtures/graph.db/index/lucene.log.v18
|
351
|
-
- spec/fixtures/graph.db/index/lucene.log.v19
|
352
|
-
- spec/fixtures/graph.db/index/lucene.log.v2
|
353
|
-
- spec/fixtures/graph.db/index/lucene.log.v20
|
354
|
-
- spec/fixtures/graph.db/index/lucene.log.v21
|
355
|
-
- spec/fixtures/graph.db/index/lucene.log.v22
|
356
|
-
- spec/fixtures/graph.db/index/lucene.log.v23
|
357
|
-
- spec/fixtures/graph.db/index/lucene.log.v24
|
358
|
-
- spec/fixtures/graph.db/index/lucene.log.v25
|
359
|
-
- spec/fixtures/graph.db/index/lucene.log.v26
|
360
|
-
- spec/fixtures/graph.db/index/lucene.log.v27
|
361
|
-
- spec/fixtures/graph.db/index/lucene.log.v28
|
362
|
-
- spec/fixtures/graph.db/index/lucene.log.v29
|
363
|
-
- spec/fixtures/graph.db/index/lucene.log.v3
|
364
|
-
- spec/fixtures/graph.db/index/lucene.log.v30
|
365
|
-
- spec/fixtures/graph.db/index/lucene.log.v31
|
366
|
-
- spec/fixtures/graph.db/index/lucene.log.v32
|
367
|
-
- spec/fixtures/graph.db/index/lucene.log.v33
|
368
|
-
- spec/fixtures/graph.db/index/lucene.log.v34
|
369
|
-
- spec/fixtures/graph.db/index/lucene.log.v35
|
370
|
-
- spec/fixtures/graph.db/index/lucene.log.v36
|
371
|
-
- spec/fixtures/graph.db/index/lucene.log.v37
|
372
|
-
- spec/fixtures/graph.db/index/lucene.log.v38
|
373
|
-
- spec/fixtures/graph.db/index/lucene.log.v39
|
374
|
-
- spec/fixtures/graph.db/index/lucene.log.v4
|
375
|
-
- spec/fixtures/graph.db/index/lucene.log.v40
|
376
|
-
- spec/fixtures/graph.db/index/lucene.log.v41
|
377
|
-
- spec/fixtures/graph.db/index/lucene.log.v42
|
378
|
-
- spec/fixtures/graph.db/index/lucene.log.v43
|
379
|
-
- spec/fixtures/graph.db/index/lucene.log.v44
|
380
|
-
- spec/fixtures/graph.db/index/lucene.log.v45
|
381
|
-
- spec/fixtures/graph.db/index/lucene.log.v46
|
382
|
-
- spec/fixtures/graph.db/index/lucene.log.v47
|
383
|
-
- spec/fixtures/graph.db/index/lucene.log.v48
|
384
|
-
- spec/fixtures/graph.db/index/lucene.log.v49
|
385
|
-
- spec/fixtures/graph.db/index/lucene.log.v5
|
386
|
-
- spec/fixtures/graph.db/index/lucene.log.v50
|
387
|
-
- spec/fixtures/graph.db/index/lucene.log.v51
|
388
|
-
- spec/fixtures/graph.db/index/lucene.log.v52
|
389
|
-
- spec/fixtures/graph.db/index/lucene.log.v53
|
390
|
-
- spec/fixtures/graph.db/index/lucene.log.v54
|
391
|
-
- spec/fixtures/graph.db/index/lucene.log.v55
|
392
|
-
- spec/fixtures/graph.db/index/lucene.log.v56
|
393
|
-
- spec/fixtures/graph.db/index/lucene.log.v57
|
394
|
-
- spec/fixtures/graph.db/index/lucene.log.v58
|
395
|
-
- spec/fixtures/graph.db/index/lucene.log.v59
|
396
|
-
- spec/fixtures/graph.db/index/lucene.log.v6
|
397
|
-
- spec/fixtures/graph.db/index/lucene.log.v60
|
398
|
-
- spec/fixtures/graph.db/index/lucene.log.v61
|
399
|
-
- spec/fixtures/graph.db/index/lucene.log.v62
|
400
|
-
- spec/fixtures/graph.db/index/lucene.log.v63
|
401
|
-
- spec/fixtures/graph.db/index/lucene.log.v64
|
402
|
-
- spec/fixtures/graph.db/index/lucene.log.v65
|
403
|
-
- spec/fixtures/graph.db/index/lucene.log.v7
|
404
|
-
- spec/fixtures/graph.db/index/lucene.log.v8
|
405
|
-
- spec/fixtures/graph.db/index/lucene.log.v9
|
406
|
-
- spec/fixtures/graph.db/messages.log
|
407
191
|
- spec/fixtures/graph.db/neostore
|
408
192
|
- spec/fixtures/graph.db/neostore.id
|
409
193
|
- spec/fixtures/graph.db/neostore.labeltokenstore.db
|
@@ -432,73 +216,6 @@ test_files:
|
|
432
216
|
- spec/fixtures/graph.db/neostore.relationshiptypestore.db.names.id
|
433
217
|
- spec/fixtures/graph.db/neostore.schemastore.db
|
434
218
|
- spec/fixtures/graph.db/neostore.schemastore.db.id
|
435
|
-
- spec/fixtures/graph.db/nioneo_logical.log.active
|
436
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v0
|
437
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v1
|
438
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v10
|
439
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v11
|
440
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v12
|
441
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v13
|
442
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v14
|
443
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v15
|
444
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v16
|
445
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v17
|
446
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v18
|
447
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v19
|
448
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v2
|
449
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v20
|
450
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v21
|
451
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v22
|
452
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v23
|
453
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v24
|
454
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v25
|
455
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v26
|
456
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v27
|
457
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v28
|
458
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v29
|
459
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v3
|
460
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v30
|
461
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v31
|
462
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v32
|
463
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v33
|
464
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v34
|
465
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v35
|
466
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v36
|
467
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v37
|
468
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v38
|
469
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v39
|
470
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v4
|
471
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v40
|
472
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v41
|
473
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v42
|
474
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v43
|
475
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v44
|
476
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v45
|
477
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v46
|
478
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v47
|
479
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v48
|
480
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v49
|
481
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v5
|
482
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v50
|
483
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v51
|
484
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v52
|
485
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v53
|
486
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v54
|
487
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v55
|
488
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v56
|
489
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v57
|
490
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v58
|
491
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v59
|
492
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v6
|
493
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v60
|
494
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v61
|
495
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v62
|
496
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v63
|
497
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v64
|
498
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v65
|
499
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v7
|
500
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v8
|
501
|
-
- spec/fixtures/graph.db/nioneo_logical.log.v9
|
502
219
|
- spec/fixtures/graph.db/schema/label/lucene/_0.fdt
|
503
220
|
- spec/fixtures/graph.db/schema/label/lucene/_0.fdx
|
504
221
|
- spec/fixtures/graph.db/schema/label/lucene/_0.fnm
|
@@ -509,7 +226,6 @@ test_files:
|
|
509
226
|
- spec/fixtures/graph.db/schema/label/lucene/segments.gen
|
510
227
|
- spec/fixtures/graph.db/schema/label/lucene/segments_1
|
511
228
|
- spec/fixtures/graph.db/store_lock
|
512
|
-
- spec/fixtures/graph.db/tm_tx_log.1
|
513
229
|
- spec/inputs/neo4j-client_spec.rb
|
514
230
|
- spec/inputs/neo4j_spec.rb
|
515
231
|
- spec/spec_helper.rb
|