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

Fix libbeat.output.*.bytes metrics for ES #21197

Merged

Conversation

kvch
Copy link
Contributor

@kvch kvch commented Sep 21, 2020

What does this PR do?

This PR passes a missing parameter to the constructor elasticsearch.Client.

Why is it important?

The missing parameter prevented Beats from reporting the metrics libbeat.output.write.bytes and libbeat.output.read.bytes in case of Elasticsearch output.

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.

How to test this PR locally

Example configuration:

filebeat.inputs:
- type: log
  enabled: true
  paths:
    - test.log

http.enabled: true
output.elasticsearch:
  hosts: ["localhost:9200"]

Read events from test.log. Then visit http://localhost:5066/stats?pretty and check that the aforementioned counters are greater than zero.

Related issues

Closes #20752

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Sep 21, 2020
@kvch kvch added the Team:Services (Deprecated) Label for the former Integrations-Services team label Sep 21, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Sep 21, 2020
@kvch kvch added needs_reviewer PR needs to be assigned a reviewer needs_team Indicates that the issue/PR needs a Team:* label labels Sep 21, 2020
@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Sep 21, 2020
@botelastic
Copy link

botelastic bot commented Sep 21, 2020

This pull request doesn't have a Team:<team> label.

@kvch kvch added review and removed needs_reviewer PR needs to be assigned a reviewer labels Sep 21, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Sep 21, 2020

💔 Tests Failed

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #21197 updated]

  • Start Time: 2020-09-22T06:28:19.422+0000

  • Duration: 73 min 20 sec

Test stats 🧪

Test Results
Failed 2
Passed 20155
Skipped 1833
Total 21990

Test errors

Expand to view the tests failures

  • Name: Build and Test / Filebeat oss / test_default_settings – filebeat.tests.system.test_autodiscover.TestAutodiscover

    • Age: 1
    • Duration: 90.003
    • Error Details: Failed: Timeout >90.0s
  • Name: Build and Test / Libbeat / Libbeat oss / TestClientPublishEventKerberosAware – elasticsearch

    • Age: 5
    • Duration: 2.7
    • Error Details: Failed

Steps errors

Expand to view the steps failures

  • Name: Mage build test

    • Description: mage build test

    • Duration: 29 min 36 sec

    • Start Time: 2020-09-22T06:53:13.529+0000

    • log

  • Name: Mage build test

    • Description: mage build test

    • Duration: 22 min 56 sec

    • Start Time: 2020-09-22T06:53:09.286+0000

    • log

Log output

Expand to view the last 100 lines of log output

[2020-09-22T07:41:00.596Z] + tar -xpf source.tgz
[2020-09-22T07:41:10.928Z] + rm source.tgz
[2020-09-22T07:41:10.944Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats
[2020-09-22T07:41:10.968Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Lint
[2020-09-22T07:41:11.058Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Auditbeat-x-pack-Mac-OS-X
[2020-09-22T07:41:11.142Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Winlogbeat-oss
[2020-09-22T07:41:11.224Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Elastic-Agent-x-pack
[2020-09-22T07:41:11.307Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Auditbeat-oss-Mac-OS-X
[2020-09-22T07:41:11.390Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Filebeat-x-pack-Mac-OS-X
[2020-09-22T07:41:11.472Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Journalbeat
[2020-09-22T07:41:11.555Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Auditbeat-crosscompile
[2020-09-22T07:41:11.637Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/dockerlogbeat
[2020-09-22T07:41:11.722Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Functionbeat-x-pack
[2020-09-22T07:41:11.806Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-Mac-OS-X
[2020-09-22T07:41:11.888Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Elastic-Agent-Mac-OS-X
[2020-09-22T07:41:11.969Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Filebeat-Mac-OS-X
[2020-09-22T07:41:12.103Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Generators-Metricbeat-Linux
[2020-09-22T07:41:12.185Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Packetbeat-Linux
[2020-09-22T07:41:12.269Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-OSS-Unit-tests
[2020-09-22T07:41:12.353Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Functionbeat-Mac-OS-X-x-pack
[2020-09-22T07:41:12.436Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-x-pack-Mac-OS-X
[2020-09-22T07:41:12.518Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Elastic-Agent-x-pack-Windows
[2020-09-22T07:41:12.599Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Generators-Metricbeat-Mac-OS-X
[2020-09-22T07:41:12.681Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Heartbeat-oss
[2020-09-22T07:41:12.764Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Generators-Beat-Mac-OS-X
[2020-09-22T07:41:12.850Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Auditbeat-x-pack
[2020-09-22T07:41:12.932Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Heartbeat-Windows
[2020-09-22T07:41:13.014Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Auditbeat-oss-Windows
[2020-09-22T07:41:13.096Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Libbeat-x-pack
[2020-09-22T07:41:13.183Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Auditbeat-oss-Linux
[2020-09-22T07:41:13.263Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Packetbeat-Mac-OS-X
[2020-09-22T07:41:13.346Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-crosscompile
[2020-09-22T07:41:13.427Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Filebeat-Windows
[2020-09-22T07:41:13.511Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Auditbeat-x-pack-Windows
[2020-09-22T07:41:13.594Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Winlogbeat-Windows-x-pack
[2020-09-22T07:41:13.677Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Filebeat-x-pack-Windows
[2020-09-22T07:41:13.758Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Winlogbeat-Windows
[2020-09-22T07:41:13.839Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Functionbeat-Windows
[2020-09-22T07:41:13.920Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Packetbeat-Windows
[2020-09-22T07:41:14.002Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Heartbeat-Mac-OS-X
[2020-09-22T07:41:14.084Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-x-pack-Windows
[2020-09-22T07:41:14.165Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-Windows
[2020-09-22T07:41:14.249Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Generators-Beat-Linux
[2020-09-22T07:41:14.329Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Libbeat-oss
[2020-09-22T07:41:14.411Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Filebeat-oss
[2020-09-22T07:41:14.496Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Filebeat-x-pack
[2020-09-22T07:41:14.577Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests
[2020-09-22T07:41:14.659Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-OSS-Python-Integration-tests
[2020-09-22T07:41:14.740Z] Running in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-x-pack
[2020-09-22T07:41:15.143Z] + cat
[2020-09-22T07:41:15.143Z] + /usr/local/bin/runbld ./runbld-script --job-name elastic+beats+pull-request
[2020-09-22T07:41:15.143Z] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[2020-09-22T07:41:21.755Z] runbld>>> runbld started
[2020-09-22T07:41:21.755Z] runbld>>> 1.6.12/f45d832f2ba0aa2722ab4ec1fda8ad140f027f8b
[2020-09-22T07:41:23.147Z] runbld>>> The following profiles matched the job 'elastic+beats+pull-request' in order of occurrence in the config (last value wins).
[2020-09-22T07:41:23.147Z] runbld>>> Matches in the system config:
[2020-09-22T07:41:23.147Z] runbld>>> - Matched ^elastic\+beats
[2020-09-22T07:41:23.147Z] runbld>>> - Matched ^elastic\+beats\+pull-request
[2020-09-22T07:41:24.536Z] runbld>>> Debug logging enabled.
[2020-09-22T07:41:24.536Z] runbld>>> Storing result
[2020-09-22T07:41:24.536Z] runbld>>> Store result: created {:total 2, :successful 2, :failed 0} 1
[2020-09-22T07:41:24.536Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200922074124-A35793B9
[2020-09-22T07:41:24.536Z] runbld>>> Adding system facts.
[2020-09-22T07:41:25.482Z] runbld>>> Adding vcs info for the latest commit:  6bb32458b507aa4c4e12c985f894dc9b05a0eb9a
[2020-09-22T07:41:25.482Z] runbld>>> >>>>>>>>>>>> SCRIPT EXECUTION BEGIN >>>>>>>>>>>>
[2020-09-22T07:41:25.751Z] runbld>>> Adding /usr/lib/jvm/java-8-openjdk-amd64/bin to the path.
[2020-09-22T07:41:25.751Z] + echo 'Processing JUnit reports with runbld...'
[2020-09-22T07:41:25.751Z] Processing JUnit reports with runbld...
[2020-09-22T07:41:26.014Z] runbld>>> <<<<<<<<<<<< SCRIPT EXECUTION END <<<<<<<<<<<<
[2020-09-22T07:41:26.014Z] runbld>>> DURATION: 14ms
[2020-09-22T07:41:26.014Z] runbld>>> STDOUT: 40 bytes
[2020-09-22T07:41:26.014Z] runbld>>> STDERR: 49 bytes
[2020-09-22T07:41:26.014Z] runbld>>> WRAPPED PROCESS: SUCCESS (0)
[2020-09-22T07:41:26.014Z] runbld>>> Searching for build metadata in /var/lib/jenkins/workspace/Beats_beats_PR-21197
[2020-09-22T07:41:26.960Z] runbld>>> Storing build metadata: 
[2020-09-22T07:41:26.961Z] runbld>>> Adding test report.
[2020-09-22T07:41:26.961Z] runbld>>> Searching for junit test output files with the pattern: TEST-.*\.xml$ in: /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats
[2020-09-22T07:41:27.917Z] runbld>>> Found 139 test output files
[2020-09-22T07:41:28.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-activemq.xml
[2020-09-22T07:41:28.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-openmetrics.xml
[2020-09-22T07:41:28.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-istio.xml
[2020-09-22T07:41:28.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-iis.xml
[2020-09-22T07:41:28.492Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-x-pack/x-pack/metricbeat/build/TEST-go-integration-tomcat.xml
[2020-09-22T07:41:29.439Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-graphite.xml
[2020-09-22T07:41:29.439Z] runbld>>> No testsuite node found in /var/lib/jenkins/workspace/Beats_beats_PR-21197/src/github.com/elastic/beats/Metricbeat-OSS-Go-Integration-tests/metricbeat/build/TEST-go-integration-windows.xml
[2020-09-22T07:41:31.991Z] runbld>>> Test output logs contained: Errors: 0 Failures: 2 Tests: 21833 Skipped: 1560
[2020-09-22T07:41:31.991Z] runbld>>> Storing result
[2020-09-22T07:41:31.991Z] runbld>>> FAILURES: 2
[2020-09-22T07:41:32.253Z] runbld>>> Store result: updated {:total 2, :successful 2, :failed 0} 2
[2020-09-22T07:41:32.253Z] runbld>>> BUILD: https://c150076387b5421f9154dfbf536e5c60.us-west1.gcp.cloud.es.io:9243/build-1597739501209/t/20200922074124-A35793B9
[2020-09-22T07:41:32.515Z] runbld>>> Email notification disabled by environment variable.
[2020-09-22T07:41:32.515Z] runbld>>> Slack notification disabled by environment variable.
[2020-09-22T07:41:38.437Z] Running on Jenkins in /var/lib/jenkins/workspace/Beats_beats_PR-21197
[2020-09-22T07:41:38.681Z] [INFO] getVaultSecret: Getting secrets
[2020-09-22T07:41:38.765Z] Masking supported pattern matches of $VAULT_ADDR or $VAULT_ROLE_ID or $VAULT_SECRET_ID
[2020-09-22T07:41:39.555Z] + chmod 755 generate-build-data.sh
[2020-09-22T07:41:39.555Z] + ./generate-build-data.sh https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21197/ https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21197/runs/6 FAILURE 4399870
[2020-09-22T07:41:39.555Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21197/runs/6/steps/?limit=10000 -o steps-info.json
[2020-09-22T07:41:42.038Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21197/runs/6/tests/?status=FAILED -o tests-errors.json
[2020-09-22T07:41:42.038Z] INFO: curl https://beats-ci.elastic.co/blue/rest/organizations/jenkins/pipelines/Beats/beats/PR-21197/runs/6/log/ -o pipeline-log.txt

@kvch kvch force-pushed the fix-libbeat-elasticsearch-monitoring-metrics branch from 148c11c to 41f7bfb Compare September 22, 2020 06:26
@kvch kvch merged commit 78dc0cf into elastic:master Sep 22, 2020
@kvch kvch added the needs_backport PR is waiting to be backported to other branches. label Sep 22, 2020
kvch added a commit to kvch/beats that referenced this pull request Sep 22, 2020
…1197)

## What does this PR do?

This PR passes a missing parameter to the constructor `elasticsearch.Client`.

## Why is it important?

The missing parameter prevented Beats from reporting the metrics `libbeat.output.write.bytes` and `libbeat.output.read.bytes` in case of Elasticsearch output.

## Related issues

Closes elastic#20752

(cherry picked from commit 78dc0cf)
@kvch kvch added v7.10.0 and removed needs_backport PR is waiting to be backported to other branches. labels Sep 22, 2020
kvch added a commit to kvch/beats that referenced this pull request Sep 22, 2020
…1197)

## What does this PR do?

This PR passes a missing parameter to the constructor `elasticsearch.Client`.

## Why is it important?

The missing parameter prevented Beats from reporting the metrics `libbeat.output.write.bytes` and `libbeat.output.read.bytes` in case of Elasticsearch output.

## Related issues

Closes elastic#20752

(cherry picked from commit 78dc0cf)
@kvch kvch added the v7.9.2 label Sep 22, 2020
kvch added a commit that referenced this pull request Sep 22, 2020
…21211)

* Add Known issues section with an issue about Functionbeat

* Fix libbeat.output.*.bytes metrics of Elasticsearch output (#21197)

## What does this PR do?

This PR passes a missing parameter to the constructor `elasticsearch.Client`.

## Why is it important?

The missing parameter prevented Beats from reporting the metrics `libbeat.output.write.bytes` and `libbeat.output.read.bytes` in case of Elasticsearch output.

## Related issues

Closes #20752

(cherry picked from commit 78dc0cf)
kvch added a commit that referenced this pull request Sep 22, 2020
…21210)

## What does this PR do?

This PR passes a missing parameter to the constructor `elasticsearch.Client`.

## Why is it important?

The missing parameter prevented Beats from reporting the metrics `libbeat.output.write.bytes` and `libbeat.output.read.bytes` in case of Elasticsearch output.

## Related issues

Closes #20752

(cherry picked from commit 78dc0cf)
v1v added a commit to v1v/beats that referenced this pull request Sep 24, 2020
…ne-2.0-arm

* upstream/master: (29 commits)
  Fix librpm installation in auditbeat build (elastic#21239)
  Fix prometheus default config (elastic#21253)
  Fix dev guide test command (elastic#21254)
  Move aws lambda metricset to GA (elastic#21255)
  [Docs] Typo in table syntax (elastic#20227)
  [ECS] Adds related.hosts to capture all hostnames and host identifiers on an event. (elastic#21160)
  Add recursive split to httpjson (elastic#21214)
  [DOCS] Add beat specific start widgets (elastic#21217)
  Fix timestamp handling in remote_write (elastic#21166)
  Fix aws, azure and googlecloud compute dashboards (elastic#21098)
  Add acceptable event log keys to winlog (elastic#21205)
  Add elastic-agent to gitignore (elastic#21219)
  Add cloudfoundry tags to events (elastic#21177)
  [Ingest Manager] Agent includes pgp file (elastic#19480)
  Add compatibility note about ingress-controller-v0.34.1 (elastic#21209)
  [Ingest Manager] Support for UPGRADE_ACTION (elastic#21002)
  Fix libbeat.output.*.bytes metrics of Elasticsearch output (elastic#21197)
  [packaging] use docker.elastic.co/ubi8/ubi-minimal (elastic#21154)
  Add host inventory metrics to system module (elastic#20415)
  [Filebeat][Azure Module] Fixing event.outcome from result_type issue (elastic#20998)
  ...
@kvch kvch added v7.9.3 and removed v7.9.2 labels Oct 8, 2020
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…for ES (elastic#21211)

* Add Known issues section with an issue about Functionbeat

* Fix libbeat.output.*.bytes metrics of Elasticsearch output (elastic#21197)

## What does this PR do?

This PR passes a missing parameter to the constructor `elasticsearch.Client`.

## Why is it important?

The missing parameter prevented Beats from reporting the metrics `libbeat.output.write.bytes` and `libbeat.output.read.bytes` in case of Elasticsearch output.

## Related issues

Closes elastic#20752

(cherry picked from commit ab955b8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Team:Services (Deprecated) Label for the former Integrations-Services team v7.9.3 v7.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Metric libbeat.output.write.bytes does not change for type elasticsearch
3 participants