-
Notifications
You must be signed in to change notification settings - Fork 573
[logstash] align mappings with metricbeat #3993
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
Changes from all commits
a4b4ba3
8e9ebd4
b44b810
0eb2948
565528d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| http.host: "0.0.0.0" | ||
| config.reload.automatic: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| - pipeline.id: pipeline-with-persisted-queue | ||
| path.config: "/usr/share/logstash/pipeline/persisted-queue.conf" | ||
| queue.type: persisted | ||
| - pipeline.id: pipeline-with-memory-queue | ||
| path.config: "/usr/share/logstash/pipeline/memory-queue.conf" | ||
| - pipeline.id: standalone-pipeline | ||
| path.config: "/usr/share/logstash/pipeline/standalone-pipeline.conf" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| version: '2.3' | ||
| services: | ||
| logstash: | ||
| image: "docker.elastic.co/logstash/logstash:8.5.0-SNAPSHOT" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any idea if we can parameterize this to the latest stack snapshot? Thinking something like what we do on the beats repos.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would that be the master-SNAPSHOT image ?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Worth a try at least :) I did the same in https://github.com/elastic/beats/blob/main/docs/devguide/modules-dev-guide.asciidoc#test I think my ideal would be some sort of automation like elastic/beats#32720 that explicitly bumps to updated versions. That way we avoid spurious Either way I think we can defer that work to a later PR.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I opened up #4013 to follow up on this and added it to our integration meta. |
||
| volumes: | ||
| - "./pipeline:/usr/share/logstash/pipeline" | ||
| - "./config:/usr/share/logstash/config" | ||
| ports: | ||
| - "127.0.0.1:9600:9600" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| input { | ||
| java_generator { | ||
| eps => 10 | ||
| } | ||
| } | ||
|
|
||
| output { | ||
| elasticsearch { | ||
| hosts => ["https://elasticsearch:9200"] | ||
| user => "elastic" | ||
| password => "changeme" | ||
| index => "logstash-memory-queue" | ||
| ssl_certificate_verification => "false" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| input { | ||
| java_generator { | ||
| eps => 50 | ||
| } | ||
| } | ||
|
|
||
| output { | ||
| elasticsearch { | ||
| hosts => ["https://elasticsearch:9200"] | ||
| user => "elastic" | ||
| password => "changeme" | ||
| index => "logstash-persisted-queue" | ||
| ssl_certificate_verification => "false" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| input { | ||
| java_generator { | ||
| eps => 5 | ||
| } | ||
| } | ||
|
|
||
| output { | ||
| stdout { } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,45 +1,49 @@ | ||
| - name: logstash.node | ||
| - name: logstash | ||
| type: group | ||
| release: ga | ||
| fields: | ||
| - name: host | ||
| - name: elasticsearch.cluster.id | ||
| type: keyword | ||
| - name: version | ||
| type: keyword | ||
| - name: id | ||
| type: keyword | ||
| - name: state.pipeline | ||
| - name: node | ||
| type: group | ||
| fields: | ||
| - name: id | ||
| - name: jvm | ||
| type: group | ||
| fields: | ||
| - name: version | ||
| type: keyword | ||
| ignore_above: 1024 | ||
| - name: host | ||
| type: keyword | ||
| - name: hash | ||
| - name: version | ||
| type: keyword | ||
| - name: ephemeral_id | ||
| - name: id | ||
| type: keyword | ||
| - name: batch_size | ||
| type: long | ||
| - name: workers | ||
| type: long | ||
| - name: representation | ||
| - name: state.pipeline | ||
| type: group | ||
| fields: | ||
| - name: hash | ||
| - name: id | ||
| type: keyword | ||
| - name: type | ||
| - name: hash | ||
| type: keyword | ||
| - name: version | ||
| - name: ephemeral_id | ||
| type: keyword | ||
| - name: graph | ||
| - name: batch_size | ||
| type: long | ||
| - name: workers | ||
| type: long | ||
| - name: representation | ||
| type: group | ||
| fields: | ||
| - name: edges | ||
| type: object | ||
| - name: vertices | ||
| type: object | ||
| - name: jvm | ||
| type: group | ||
| fields: | ||
| - name: version | ||
| type: keyword | ||
| description: JVM version | ||
| - name: hash | ||
| type: keyword | ||
| - name: type | ||
| type: keyword | ||
| - name: version | ||
| type: keyword | ||
| - name: graph | ||
| type: group | ||
| fields: | ||
| - name: edges | ||
| type: object | ||
| - name: vertices | ||
| type: object |
Uh oh!
There was an error while loading. Please reload this page.