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

Update python3 fix auditbeat and dashboards #15807

Commits on Jan 17, 2020

  1. Configuration menu
    Copy the full SHA
    7fd545d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3fa73f View commit details
    Browse the repository at this point in the history
  3. Mask password discovered via module autodiscover hint (elastic#15616)

    * Mask password is string representation of config
    
    * Rename method
    
    * Adding unit test
    
    * Use const for module config password setting name
    
    * Using common.DebugString
    
    * Simplifying
    
    * Removing now-invalid unit test
    
    * Removing now-unnecessary const
    
    * Refactoring: moving debug-related var and func to common file
    
    * Refactoring: rename from black list to mask list
    
    * Implement fmt.Formatter for common.MapStr
    
    * Reintroduce debug statement
    
    * Make MarshalLogObject always filter MapStr object for logging purposes
    
    * Refactoring: renaming to be bit more generic
    
    * Forgot to add license header to new file
    
    * Fixing verb syntax
    ycombinator authored Jan 17, 2020
    Configuration menu
    Copy the full SHA
    9e6b014 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    51072f9 View commit details
    Browse the repository at this point in the history
  5. Adding monitoring.cloud.* settings to reference files (elastic#15648)

    * Adding monitoring.cloud.* settings to reference files
    
    * Missed winlogbeat somehow
    
    * Missed x-pack/winlogbeat
    ycombinator authored Jan 17, 2020
    Configuration menu
    Copy the full SHA
    9ece104 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2020

  1. remove lablels (elastic#15644)

    Pablo Mercado authored Jan 20, 2020
    Configuration menu
    Copy the full SHA
    99c6546 View commit details
    Browse the repository at this point in the history
  2. Fix panic: don't send events if client is nil (elastic#15568)

    * Fix panic: don't send events if client is nil
    
    * Use mutex
    
    * Add CHANGELOG entry
    
    * Rename changelog entry
    
    * Fix: changelog
    
    * Temporarily use specific logstash release
    mtojek authored Jan 20, 2020
    Configuration menu
    Copy the full SHA
    3e39fdf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b6d483d View commit details
    Browse the repository at this point in the history
  4. [Metricbeat] Fix changelog (elastic#15681)

    * Fix changelog
    kaiyan-sheng authored Jan 20, 2020
    Configuration menu
    Copy the full SHA
    ec2673e View commit details
    Browse the repository at this point in the history
  5. ci: use APM pipeline library (elastic#15636)

    it uses APM pipeline library configured in the instance
    kuisathaverat authored Jan 20, 2020
    Configuration menu
    Copy the full SHA
    0df3a9f View commit details
    Browse the repository at this point in the history
  6. AWS Lambda: downgrade Kibana dashboard (elastic#15682)

    * AWS Lambda: downgrade Kibana dashboard
    
    * Downgrade other AWS dashboards
    
    * Log command error if setup dashboards fails
    
    * Another downgrade
    mtojek authored Jan 20, 2020
    Configuration menu
    Copy the full SHA
    1b0ea01 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2020

  1. Use github.com/godror/godror instead of goracle.v2 (elastic#15683)

    From the README of goracle:
    
    > Goracle is deprecated because of naming (trademark) issues.
    
    From now on we are using github.com/godror/godror instead.
    kvch authored Jan 21, 2020
    Configuration menu
    Copy the full SHA
    d0a80a2 View commit details
    Browse the repository at this point in the history
  2. Move pdh query to shared location in order for new modules/metricsets…

    … to reuse (elastic#15503)
    
    * Move pdh query to shared location
    
    * Update changelog
    
    * Fix make update
    
    * mage fmt
    
    * fix changelog
    narph authored Jan 21, 2020
    Configuration menu
    Copy the full SHA
    2657f71 View commit details
    Browse the repository at this point in the history
  3. Remove datasource option from SQL module and add tests (elastic#15686)

    Remove datasource option from SQL module. This option was
    intended to set the DSN of a database connection, and we were
    ignoring the hosts setting. In other SQL modules we are using
    the values in hosts as DSNs, do here the same for consistency.
    Host is redacted when we cannot parse it as it can contain passwords.
    
    StandardizeEvent is exposed in mbtest.Fetcher interface so we can
    more easily check contents of events in tests.
    
    Add integration tests of the module with MySQL and PostgreSQL.
    
    Add real data.json with data from MySQL and PostgreSQL.
    jsoriano authored Jan 21, 2020
    Configuration menu
    Copy the full SHA
    8c71abc View commit details
    Browse the repository at this point in the history
  4. [metricbeat] add service metricset to reference documentation (elasti…

    …c#15643)
    
    * add service metricset to ref docs
    
    * update xpack docs
    fearful-symmetry authored Jan 21, 2020
    Configuration menu
    Copy the full SHA
    935e58f View commit details
    Browse the repository at this point in the history
  5. [metricbeat] Add divide by zero check to docker/diskio (elastic#15649)

    * add NaN check to docker/diskio
    
    * return 0
    fearful-symmetry authored Jan 21, 2020
    Configuration menu
    Copy the full SHA
    c7e137c View commit details
    Browse the repository at this point in the history
  6. Change joda style pattern to java style (elastic#15695)

    since 7.0 elasticsearch is using java.time style patterns.
    YYYY becomes yyyy
    pgomulka authored and ycombinator committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    7b2f873 View commit details
    Browse the repository at this point in the history
  7. [DOCS] Add missing config options to shared file (elastic#15136)

    * [DOCS] Add missing config options to shared file
    
    * Add fixes from review
    
    * Run mage fmt update to fix build error
    dedemorton authored Jan 21, 2020
    Configuration menu
    Copy the full SHA
    7960c77 View commit details
    Browse the repository at this point in the history
  8. [Heartbeat] Support for multiple status codes elastic#13595 (elastic#…

    …15587)
    
    Allow for multiple status codes in config. Fixes elastic#13595
    Amanda H. L. de Andrade Katz authored and andrewvc committed Jan 21, 2020
    Configuration menu
    Copy the full SHA
    4a408e5 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2020

  1. Configuration menu
    Copy the full SHA
    121ece3 View commit details
    Browse the repository at this point in the history
  2. Update github.com/godror/godror to v0.10.4 (elastic#15737)

    ## What does this PR do?
    
    This PR updates the dependency `github.com/godror/godror` to v0.10.4.
    
    ## Why is it important?
    
    Packaging of Metricbeat fails due to the issue in the `godror` version we are currently using. See more about the problem: godror/godror#8
    kvch authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    6e2ca41 View commit details
    Browse the repository at this point in the history
  3. Collect normalized CPU percentages by default (elastic#15729)

    * Collect normalized CPU percentages by default
    
    * Adding CHANGELOG entry
    
    * Updating x-pack/metricbeat
    ycombinator authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    e042d5c View commit details
    Browse the repository at this point in the history
  4. [Filebeat] Add support for specifying AWS cred file (elastic#15656)

    * Add optional AWS shared_credential_file to all s3 input modules
    * Made AWS credential_profile_name optional for all s3 input modules
    
    Fixes elastic#15652
    leehinman authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    005f474 View commit details
    Browse the repository at this point in the history
  5. Fix mapping and race condition in sql module (elastic#15738)

    Mapping was defined at the metricset level, but it should be defined at
    the module level.
    
    Add system test to earlier detect this kind of issues.
    
    Also add validation so driver and sql_query options cannot be empty.
    
    Fetch was reusing some maps when building the event, what was
    causing mixed data in events and panics on queries with lots of rows.
    
    Fixes elastic#15736
    jsoriano authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    badb2cb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5e75e31 View commit details
    Browse the repository at this point in the history
  7. Building functionbeat providers with specific GOOS and GOARCH (elasti…

    …c#15586)
    
    * Building functionbeat providers with specific GOOS and GOARCH
    
    * Fix: os changed to linux for aws functionbeat provider
    
    * Disabling CGO in functionbeat because it is not used
    rvillablanca authored and ycombinator committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    4dd18e0 View commit details
    Browse the repository at this point in the history
  8. Fix indentation in fields definition of generic modules (elastic#15742)

    Remove spurious strings in fields definitions of generic modules
    caused by how these yaml files are indented and concatenated.
    jsoriano authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    4f0d0d7 View commit details
    Browse the repository at this point in the history
  9. [Heartbeat] Fix excessive memory usage when parsing bodies (elastic#1…

    …5639)
    
    * [Heartbeat] Fix excessive memory usage when parsing bodies
    
    In 7.5 we introduced a regression where we would allocate a 100MiB
    buffer per HTTP request. This change fixes that to stream data instead.
    andrewvc authored Jan 22, 2020
    Configuration menu
    Copy the full SHA
    080dedb View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2020

  1. Set event.outcome based on googlecloud audit log output (elastic#15731)

    * Set event.outcome based on googlecloud audit log output
    Lei Qiu authored Jan 23, 2020
    Configuration menu
    Copy the full SHA
    ffae2c4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9bdbf91 View commit details
    Browse the repository at this point in the history
  3. ci: add apm beats update pipeline multibranch job (elastic#15631)

    * ci: add apm beats update pipeline multibranch job
    
    * fix: force execution on comment trigger
    
    * Update .ci/apm-beats-update.groovy
    
    * Update .ci/apm-beats-update.groovy
    
    * Update .ci/apm-beats-update.groovy
    
    * Delete apm-server-update-beats.sh
    kuisathaverat authored Jan 23, 2020
    Configuration menu
    Copy the full SHA
    d39060d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f3355c View commit details
    Browse the repository at this point in the history
  5. [Elastic Log Driver] Add redis and kafka outputs (elastic#15719)

    * add redis and kafka out
    
    * add cloud output
    
    * add changelog
    fearful-symmetry authored Jan 23, 2020
    Configuration menu
    Copy the full SHA
    1820369 View commit details
    Browse the repository at this point in the history
  6. Fix documentation on setup.ilm.policy_name setting (elastic#15750)

    Documentation and sample reference configuration still states that the
    agent version is appended to the default policy name configured via
    setup.ilm.policy_name. With 7.6 the version is removed from the default.
    Steffen Siering authored Jan 23, 2020
    Configuration menu
    Copy the full SHA
    fa34a7b View commit details
    Browse the repository at this point in the history
  7. Socket dataset: Workaround for bogus dereference in kernel 5.x (elast…

    …ic#15771)
    
    This is a tentative workaround for the problems in Auditbeat's
    system/socket dataset when run under 5.x kernels.
    
    On older kernels, we could rely on dereferencing a NULL or invalid
    pointer returning zeroed memory. However, seems that in the tested 5.x
    kernels is not the case. Dereferencing a NULL pointer returns bogus
    memory, which causes some wrong codepaths to be taken in a couple of
    kprobes defined by the dataset.
    
    This so far seems only to affect udp_sendmsg and udpv6_sendmsg, which
    caused it to attribute traffic to bogus IP addresses. In turn this
    caused the test-connected-udp system tests to fail.
    adriansr authored Jan 23, 2020
    Configuration menu
    Copy the full SHA
    0dab517 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2020

  1. Merge remote-tracking branch 'origin/master' into update-python3-fix-…

    …auditbeat-and-dashboards
    jsoriano committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    b09e537 View commit details
    Browse the repository at this point in the history
  2. Fix activemq tests

    jsoriano committed Jan 24, 2020
    Configuration menu
    Copy the full SHA
    f4e0187 View commit details
    Browse the repository at this point in the history