Skip to content
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

[Journalbeat] Add ECS fields to journalbeat #19176

Merged
merged 2 commits into from
Jun 18, 2020

Conversation

andrewstucki
Copy link

@andrewstucki andrewstucki commented Jun 12, 2020

What does this PR do?

Add ECS 1.5 fields to journalbeat.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

@andrewstucki andrewstucki added enhancement needs_backport PR is waiting to be backported to other branches. Team:SIEM Journalbeat labels Jun 12, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jun 12, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jun 12, 2020

❕ Build Aborted

Either there was a build timeout or someone aborted the build.'}

Pipeline View Test View Changes Artifacts

Expand to view the summary

Build stats

  • Build Cause: [Branch indexing]

  • Start Time: 2020-06-15T22:35:59.594+0000

  • Duration: 123 min 39 sec

Log output

Expand to view the last 100 lines of log output

[2020-06-15T23:01:04.202Z] Stage "Filebeat oss" skipped due to when conditional
[2020-06-15T23:01:04.202Z] Stage "Filebeat x-pack" skipped due to when conditional
[2020-06-15T23:01:04.203Z] Stage "Filebeat Mac OS X" skipped due to when conditional
[2020-06-15T23:01:04.204Z] Stage "Filebeat Windows" skipped due to when conditional
[2020-06-15T23:01:04.204Z] Stage "Filebeat x-pack Windows" skipped due to when conditional
[2020-06-15T23:01:04.205Z] Stage "Heartbeat" skipped due to when conditional
[2020-06-15T23:01:04.206Z] Stage "Auditbeat oss Linux" skipped due to when conditional
[2020-06-15T23:01:04.207Z] Stage "Auditbeat crosscompile" skipped due to when conditional
[2020-06-15T23:01:04.208Z] Stage "Auditbeat oss Mac OS X" skipped due to when conditional
[2020-06-15T23:01:04.208Z] Stage "Auditbeat oss Windows" skipped due to when conditional
[2020-06-15T23:01:04.209Z] Stage "Auditbeat x-pack" skipped due to when conditional
[2020-06-15T23:01:04.210Z] Stage "Auditbeat x-pack Mac OS X" skipped due to when conditional
[2020-06-15T23:01:04.211Z] Stage "Auditbeat x-pack Windows" skipped due to when conditional
[2020-06-15T23:01:04.212Z] Stage "Libbeat" skipped due to when conditional
[2020-06-15T23:01:04.213Z] Stage "Libbeat x-pack" skipped due to when conditional
[2020-06-15T23:01:04.214Z] Stage "Metricbeat OSS Unit tests" skipped due to when conditional
[2020-06-15T23:01:04.214Z] Stage "Metricbeat OSS Integration tests" skipped due to when conditional
[2020-06-15T23:01:04.215Z] Stage "Metricbeat Python integration tests" skipped due to when conditional
[2020-06-15T23:01:04.216Z] Stage "Metricbeat x-pack" skipped due to when conditional
[2020-06-15T23:01:04.217Z] Stage "Metricbeat crosscompile" skipped due to when conditional
[2020-06-15T23:01:04.218Z] Stage "Metricbeat Mac OS X" skipped due to when conditional
[2020-06-15T23:01:04.219Z] Stage "Metricbeat x-pack Mac OS X" skipped due to when conditional
[2020-06-15T23:01:04.220Z] Stage "Metricbeat Windows" skipped due to when conditional
[2020-06-15T23:01:04.221Z] Stage "Metricbeat x-pack Windows" skipped due to when conditional
[2020-06-15T23:01:04.222Z] Stage "Packetbeat" skipped due to when conditional
[2020-06-15T23:01:04.222Z] Stage "dockerlogbeat" skipped due to when conditional
[2020-06-15T23:01:04.223Z] Stage "Winlogbeat" skipped due to when conditional
[2020-06-15T23:01:04.224Z] Stage "Winlogbeat Windows x-pack" skipped due to when conditional
[2020-06-15T23:01:04.225Z] Stage "Functionbeat" skipped due to when conditional
[2020-06-15T23:01:04.226Z] Stage "Generators" skipped due to when conditional
[2020-06-15T23:01:04.227Z] Stage "Kubernetes" skipped due to when conditional
[2020-06-15T23:01:04.450Z] Stage "Heartbeat" skipped due to when conditional
[2020-06-15T23:01:04.451Z] Stage "Libbeat" skipped due to when conditional
[2020-06-15T23:01:04.452Z] Stage "Metricbeat x-pack" skipped due to when conditional
[2020-06-15T23:01:04.453Z] Stage "Packetbeat" skipped due to when conditional
[2020-06-15T23:01:04.454Z] Stage "dockerlogbeat" skipped due to when conditional
[2020-06-15T23:01:04.455Z] Stage "Winlogbeat" skipped due to when conditional
[2020-06-15T23:01:04.456Z] Stage "Functionbeat" skipped due to when conditional
[2020-06-15T23:01:04.457Z] Stage "Generators" skipped due to when conditional
[2020-06-15T23:01:05.447Z] Stage "Heartbeat" skipped due to when conditional
[2020-06-15T23:01:05.449Z] Stage "Libbeat" skipped due to when conditional
[2020-06-15T23:01:05.450Z] Stage "Metricbeat x-pack" skipped due to when conditional
[2020-06-15T23:01:05.451Z] Stage "Winlogbeat" skipped due to when conditional
[2020-06-15T23:01:05.452Z] Stage "Functionbeat" skipped due to when conditional
[2020-06-15T23:01:05.453Z] Stage "Generators" skipped due to when conditional
[2020-06-15T23:01:05.755Z] Stage "Heartbeat" skipped due to when conditional
[2020-06-15T23:01:05.756Z] Stage "Libbeat" skipped due to when conditional
[2020-06-15T23:01:05.757Z] Stage "Functionbeat" skipped due to when conditional
[2020-06-15T23:01:05.758Z] Stage "Generators" skipped due to when conditional
[2020-06-15T23:01:06.090Z] Stage "Generators" skipped due to when conditional
[2020-06-15T23:01:19.260Z] Still waiting to schedule task
[2020-06-15T23:01:19.260Z] Waiting for next available executor on ‘macosx’
[2020-06-15T23:01:19.355Z] Still waiting to schedule task
[2020-06-15T23:01:19.355Z] All nodes of label ‘ubuntu&&immutable’ are offline
[2020-06-16T00:38:16.356Z] Cancelling nested steps due to timeout
[2020-06-16T00:38:16.834Z] Failed in branch Filebeat x-pack Mac OS X
[2020-06-16T00:38:16.836Z] Failed in branch Journalbeat
[2020-06-16T00:38:17.344Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19176/src/github.com/elastic/beats
[2020-06-16T00:38:17.715Z] + find . -type f -name TEST*.xml -path */build/* -delete
[2020-06-16T00:38:17.729Z] Running in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19176/src/github.com/elastic/beats/Lint
[2020-06-16T00:38:18.239Z] + cat
[2020-06-16T00:38:18.239Z] + /usr/local/bin/runbld ./runbld-script
[2020-06-16T00:38:18.239Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-06-16T00:38:25.105Z] runbld>>> runbld started
[2020-06-16T00:38:25.105Z] runbld>>> 1.6.11/a66728ff8f4356963772e6e6d2069392fa06acbe
[2020-06-16T00:38:26.079Z] runbld>>> The following profiles matched the job 'Beats/beats-beats-mbp/PR-19176' in order of occurrence in the config (last value wins).
[2020-06-16T00:38:27.017Z] runbld>>> Debug logging enabled.
[2020-06-16T00:38:27.277Z] runbld>>> Storing result
[2020-06-16T00:38:27.277Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-06-16T00:38:27.277Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200616003827-BA60100B
[2020-06-16T00:38:27.277Z] runbld>>> Adding system facts.
[2020-06-16T00:38:28.219Z] runbld>>> Adding vcs info for the latest commit:  5970bd6db56637b5434ffdcbf0b7cea9365cdfd4
[2020-06-16T00:38:28.219Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-06-16T00:38:28.219Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-06-16T00:38:28.479Z] Processing JUnit reports with runbld...
[2020-06-16T00:38:28.479Z] + echo 'Processing JUnit reports with runbld...'
[2020-06-16T00:38:28.742Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-06-16T00:38:28.742Z] runbld>>> DURATION: 9ms
[2020-06-16T00:38:28.742Z] runbld>>> STDOUT: 40 bytes
[2020-06-16T00:38:28.742Z] runbld>>> STDERR: 49 bytes
[2020-06-16T00:38:28.742Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-06-16T00:38:28.742Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19176/src/github.com/elastic/beats
[2020-06-16T00:38:30.127Z] runbld>>> Storing build metadata: 
[2020-06-16T00:38:30.127Z] runbld>>> Adding test report.
[2020-06-16T00:38:30.127Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19176/src/github.com/elastic/beats
[2020-06-16T00:38:31.510Z] runbld>>> Found 0 test output files
[2020-06-16T00:38:31.510Z] runbld>>> Test output logs contained: Errors: 0 Failures: 0 Tests: 0 Skipped: 0
[2020-06-16T00:38:31.510Z] runbld>>> Storing result
[2020-06-16T00:38:31.769Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-06-16T00:38:31.769Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1587637540455/t/20200616003827-BA60100B
[2020-06-16T00:38:31.769Z] runbld>>> Email notification disabled by environment variable.
[2020-06-16T00:38:31.769Z] runbld>>> Slack notification disabled by environment variable.
[2020-06-16T00:38:37.447Z] Running on worker-395930 in /var/lib/jenkins/workspace/Beats_beats-beats-mbp_PR-19176
[2020-06-16T00:38:37.590Z] [INFO] getVaultSecret: Getting secrets
[2020-06-16T00:38:37.686Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-06-16T00:38:39.857Z] + chmod 755 generate-build-data.sh
[2020-06-16T00:38:39.858Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19176/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19176/runs/3 ABORTED 7358784
[2020-06-16T00:38:39.858Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19176/runs/3/steps/?limit=10000 -o steps-info.json
[2020-06-16T00:38:40.656Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19176/runs/3/tests/?status=FAILED -o tests-errors.json
[2020-06-16T00:38:41.409Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats-beats-mbp/PR-19176/runs/3/log/ -o pipeline-log.txt

Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andrewstucki andrewstucki merged commit a9d457b into elastic:master Jun 18, 2020
@andrewstucki andrewstucki added v7.9.0 and removed needs_backport PR is waiting to be backported to other branches. labels Jun 18, 2020
andrewstucki pushed a commit to andrewstucki/beats that referenced this pull request Jun 18, 2020
* Add ECS fields to journalbeat

* Add changelog entry

(cherry picked from commit a9d457b)
andrewstucki pushed a commit that referenced this pull request Jun 18, 2020
* Add ECS fields to journalbeat

* Add changelog entry

(cherry picked from commit a9d457b)
melchiormoulin pushed a commit to melchiormoulin/beats that referenced this pull request Oct 14, 2020
* Add ECS fields to journalbeat

* Add changelog entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Journalbeat] Update Journalbeat to ECS 1.5
3 participants