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

Merge "master" branch into "feature-mqtt-input" #15745

Merged

Commits on Jan 14, 2020

  1. [Filebeat] Fixes for NetFlow v9 devices from various vendors (elastic…

    …#15449)
    
    - Allow for zero scope fields in options template
    
    NetFlow v9 spec allows for options templates that contain no scope
    fields. The netflow input was treating this case as an error and
    discarding the template, but that is only applicable to IPFIX.
    
    - Use additional fields to populate bytes/pkt counters
    
    Some devices out there (Cisco NSEL) use fields 231/232 as bytes
    counters, when those are supposed to be layer 4 payload counters.
    
    This updates the ECS fields populator to use those fields when the
    expected ones are not found.
    
    - Support a classId of 32 bits
    
    While the spec mandates a classId of 8 bits, some Cisco ASA devices
    actually use a 32 bit version of this field.
    
    This patches the field to allow up to 32-bit integers and updates the
    index pattern to use `long` for the `netflow.class_id` field.
    
    - Add more fields from v9 Cisco devices
    
    Fixes elastic#14212
    adriansr committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    c3a3604 View commit details
    Browse the repository at this point in the history
  2. update settings for decode_csv_fields (elastic#15249) (elastic#15550)

    Co-authored-by: DeDe Morton <dede.morton@elastic.co>
    
    Co-authored-by: Sophia Xu <sophia.xu@elastic.co>
    dedemorton and sophiaxu8 committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    bf8cb74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8bf06e3 View commit details
    Browse the repository at this point in the history
  4. [Filebeat] Handle error message in handleS3Objects function (elastic#…

    …15545)
    
    * Handle error message in handleS3Objects function
    
    * remove s3Context.Fail and use setError and done instead
    
    * Add changelog
    kaiyan-sheng committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    2228af4 View commit details
    Browse the repository at this point in the history
  5. Fix use of wrong fields in Cisco ASA dashboard (elastic#15553)

    This dashboard wasn't updated after a couple of fields were renamed.
    
    Fixes: elastic#15420
    adriansr committed Jan 14, 2020
    Configuration menu
    Copy the full SHA
    9d70efd View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2020

  1. Add test for publisher spool encode and decode. (elastic#15534)

    * Add test for publisher queue encode and decode.
    
    * Run mage fmt.
    
    * Fixes from code review.
    blakerouse committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    a3b8d3a View commit details
    Browse the repository at this point in the history
  2. Fix convert processor conversion of string with leading zeros to inte…

    …ger (elastic#15557)
    
    The conversion failed when for strings with leading zeroes and a decimal
    digit 8 or 9, as the underlying runtime function would try to parse that
    as an octal number.
    
    This is fixed by only allowing decimal and hex, which in turns makes the
    processor more aligned to its Elasticsearch counterpart.
    
    Fixes elastic#15513
    adriansr committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    e0071b5 View commit details
    Browse the repository at this point in the history
  3. New mage target: generate pkg file to test the manager (elastic#15580)

    This PR adds a new mage target to Functionbeat named `buildPkgForFunction`. It generates the folder `pkg` with the functions to make testing the manager more comfortable during development.
    kvch committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    2916c07 View commit details
    Browse the repository at this point in the history
  4. Packetbeat TLS: Replace array fields with keyword (elastic#15597)

    Use of `type: array` in some fields (which was inconsistent) causes
    those fields to be excluded from the template. This prevents pointing
    aliases to those fields, which we need in 7.6+.
    
    Setting those fields to `keyword` explicitly so that they are included
    in the template.
    
    Fixes elastic#15588
    adriansr committed Jan 15, 2020
    Configuration menu
    Copy the full SHA
    3ed9a54 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2020

  1. Add a pull request template providing valuable information when revie…

    …wing a PR (elastic#15388)
    
    * Add a PR template that provides valuable information when reviewing a PR
    
    * Add CLA check
    
    * Fix typo
    
    * Address comments during review
    
    * SF: Fix typo
    
    * Add deprecation as PR type
    
    * Make it clear how to strike through in markdown
    
    * Add default configuration files to the checklist
    mdelapenya committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    cddbd85 View commit details
    Browse the repository at this point in the history
  2. [Metricbeat] Implement IBM MQ module (elastic#15301)

    * Modify cockroachdb source
    
    * Define testdata
    
    * Do not publish ports
    
    * Update docs
    
    * mage fmt update
    
    * Describe containerized environment
    
    * Update CHANGELOG.next.asciidoc
    
    Co-Authored-By: Chris Mark <chrismarkou92@gmail.com>
    
    * Update data.json
    
    * Rename image
    
    * Update source after review
    
    * Filter ibmmq_ metrics
    
    * mage check
    
    * Fix: mage check
    
    * Don't expose port
    
    * Rename status to qmgr
    
    * Add subscriptions overview dashboard for IBM MQ module
    
    * Add calls, messages overview dashboard for IBM MQ module
    
    * Add screenshots
    
    * Fix: mage check
    
    * Fix: CHANGELOG
    
    * Add explanation
    
    * Fix: mage check
    
    Co-authored-by: Chris Mark <chrismarkou92@gmail.com>
    mtojek and ChrsMark committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    2ed633b View commit details
    Browse the repository at this point in the history
  3. Cleanup changelogs for master (elastic#15617)

    * Cleanup changelogs for master
    * Remove extra header in CHANGELOG.asciidoc
    mikemadden42 committed Jan 16, 2020
    Configuration menu
    Copy the full SHA
    32525f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2020

  1. [Metricbeat] Add lambda metricset in aws module (elastic#15260)

    * Add lambda metricset
    kaiyan-sheng committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    9c1e3a6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fd545d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d3fa73f View commit details
    Browse the repository at this point in the history
  4. 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 committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    9e6b014 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    51072f9 View commit details
    Browse the repository at this point in the history
  6. Adding monitoring.cloud.* settings to reference files (elastic#15648)

    * Adding monitoring.cloud.* settings to reference files
    
    * Missed winlogbeat somehow
    
    * Missed x-pack/winlogbeat
    ycombinator committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed 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 committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    e042d5c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    703aa07 View commit details
    Browse the repository at this point in the history
  5. Fix: mage check

    Marcin Tojek committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    e0429cd View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. Detect Eclipse Public License

    Marcin Tojek committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    05855fd View commit details
    Browse the repository at this point in the history