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 go-modules with master #16274

Merged
merged 29 commits into from
Feb 12, 2020
Merged

Update go-modules with master #16274

merged 29 commits into from
Feb 12, 2020

Commits on Feb 6, 2020

  1. [Filebeat] move create-[module,fileset,fields] to mage (elastic#15836)

    - move create-[module,fileset,fields] to mage
    - make mage create commands available in x-pack/filebeat
    - change Makefile to use mage for create commands
    leehinman authored Feb 6, 2020
    Configuration menu
    Copy the full SHA
    90f79f9 View commit details
    Browse the repository at this point in the history
  2. Elasticsearch index must be lowercase (elastic#16081)

    * Index names must be lowercase
    
    When indexing into Elasticsearch index names must always be lowercase.
    If the index or indices setting are configured to produce non-lowercase
    strings (e.g. by extracting part of the index name from the event
    contents), we need to normalize them to be lowercase.
    
    This change ensure that index names are always converted to lowercase.
    Static strings are converted to lowercase upfront, while dynamic strings
    will be post-processed.
    
    * update kafka/redis/LS output to guarantee lowercase index
    * add godoc
    Steffen Siering authored Feb 6, 2020
    Configuration menu
    Copy the full SHA
    7ddcb1e View commit details
    Browse the repository at this point in the history
  3. Regenerate expected files after changes in date parsing (elastic#16139)

    Elasticsearch has modified the behaviour on date parsing when the date
    doesn't include timezone data. Regenerate a couple of golden files that
    are affected by this change.
    jsoriano authored Feb 6, 2020
    Configuration menu
    Copy the full SHA
    e61c4c4 View commit details
    Browse the repository at this point in the history
  4. Add autodiscover for aws_ec2 (elastic#14823)

    * Add autodiscover for aws_ec2
    * Add aws.ec2.* to autodiscover template
    kaiyan-sheng authored Feb 6, 2020
    Configuration menu
    Copy the full SHA
    adcd962 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2020

  1. Fix a connection error in httpjson input (elastic#16123)

    * Fix a connection error in httpjson input
    Lei Qiu authored Feb 7, 2020
    Configuration menu
    Copy the full SHA
    7325028 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64713f9 View commit details
    Browse the repository at this point in the history
  3. ci: run test on Windows (elastic#15570)

    * feat: run test on Windows
    
    * chore: parameter to enable/disable windows test
    
    * deleteDir before of the checkout
    
    * Update Jenkinsfile
    
    * Update Jenkinsfile
    
    * Update Jenkinsfile
    
    * Update Jenkinsfile
    
    * Update Jenkinsfile
    
    * Apply suggestions from code review
    
    * feat: apply dependency hierarchies
    
    * fit: use isChanged for all matches, and add the libbeat match where it is needed
    
    * feat: add x-pack/winlogbeat windows unit tests
    
    * fix: duplicate when condition
    
    * Update Jenkinsfile
    
    Co-Authored-By: Andrew Kroh <andrew.kroh@elastic.co>
    
    Co-authored-by: Andrew Kroh <andrew.kroh@elastic.co>
    kuisathaverat and andrewkroh authored Feb 7, 2020
    Configuration menu
    Copy the full SHA
    1324279 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f5136d1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    52e5f49 View commit details
    Browse the repository at this point in the history
  6. [Filebeat] Add ECS tls & categorization fields to apache module (elas…

    …tic#16121)
    
    * Add ECS tls & categorization fields to apache module
    
    - tls.cipher (access)
    - tls.protocol (access)
    - tls.protocol_version (access)
    - event.kind (access)
    - event.category (access)
    - event.outcome (access)
    - lowercase http.request.method for ECS compliance (access)
    - event.kind (error)
    - event.category (error)
    - event.type (error)
    
    Closes elastic#16032
    leehinman authored Feb 7, 2020
    Configuration menu
    Copy the full SHA
    990a5f7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    790036b View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2020

  1. [Metricbeat] Fix PostgreSQL Dashboard (elastic#16132)

    * [Metricbeat] Fix PostgreSQL Dashboard
    
    * Update version
    sorantis authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    ed63a4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    327b14d View commit details
    Browse the repository at this point in the history
  3. [Metricbeat]kube-state-metrics: add storage class support (elastic#16145

    )
    
    * add ksm storage class support
    Pablo Mercado authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    86434d6 View commit details
    Browse the repository at this point in the history
  4. [Journalbeat] Improve parsing of syslog.pid in journalbeat to strip t…

    …he username when present (elastic#16116)
    
    * Improve parsing of syslog.pid in journalbeat to strip the username in pid when present.
    
    * Add entry to changelog with pull ID.
    
    * Improve the comment on the username strip.
    blakerouse authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    6a7dbd6 View commit details
    Browse the repository at this point in the history
  5. [Agent] Allow CA cert pinning on the Elasticsearch output or any code…

    … that user tlscommon.TLSConfig builder. (elastic#16019)
    
    * Add a sha256 pin for the CA Certificate
    
    When multiples CA are presents on the system we cannot ensure that a
    specific one was used to validates the chains exposer by the server.
    This PRs adds a `ca_sha256` option to the `tlscommon.TLSConfig` that is used by all
    the code that has to create a TCP client with TLS support.
    
    When the option is set, it will hook a new callback in the validation
    chains that will inspect the verified and validated chains by Go to
    ensure that a lets a certificate in the chains match the provided
    sha256.
    
    Usage example for the Elasticsearch output.
    
    ```
    output.elasticsearch:
      hosts: [127.0.0.1:9200]
      ssl.ca_sha256: <base64_encoded_sha1>
    ```
    
    You can generate the pin using the **openssl** binary with the
    following command:
    
    ```
    openssl x509 -in ca.crt -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64
    ```
    
    OpenSSL's [documentation](https://www.openssl.org/docs/manmaster/man1/dgst.html)
    
    You will need to start Elasticsearch with the following options
    
    ```yaml
    xpack.security.enabled: true
    indices.id_field_data.enabled: true
    xpack.license.self_generated.type: trial
    xpack.security.http.ssl.enabled: true
    xpack.security.http.ssl.key: /etc/pki/localhost/localhost.key"
    xpack.security.http.ssl.certificate: /etc/pki/localhost/localhost.crt"
    xpack.security.http.ssl.certificate_authorities: /etc/pki/ca/ca.crt"
    ```
    
    This pull request also include a new service in the docker-compose.yml
    that will start a new Elasticsearch server with TLS and security
    configured.
    ph authored Feb 10, 2020
    Configuration menu
    Copy the full SHA
    0d9f03e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5998eba View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d6571af View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2020

  1. Index template will only be loaded if the configured output is Elasti…

    …csearch or Elastic Cloud (elastic#16124) (elastic#16225)
    
    Minor update to be more explicit on the index template loading requirement.
    
    Co-authored-by: romain-chanu <51113389+romain-chanu@users.noreply.github.com>
    dedemorton and romain-chanu authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    8b93df1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4dd40a4 View commit details
    Browse the repository at this point in the history
  3. Fix: don't miss address scheme (elastic#16205)

    * Fix: don't miss address scheme
    
    * Add unit test
    
    * Adjust source after code review
    
    * Add comment to method
    mtojek authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    9c2064a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f89dcd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    31dfe51 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    53de288 View commit details
    Browse the repository at this point in the history
  7. ci(jenkins): enable fix-permissions to be executed without running ma…

    …ke too (elastic#16130)
    
    * ci(jenkins): enable fix-permissions to be executed without running make too
    
    * ci(jenkins): go modules are stored in the HOME path
    
    * ci(jenkins): fix permissions should run only if docker is enabled
    v1v authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    96c60d0 View commit details
    Browse the repository at this point in the history
  8. Upgrade go-ucfg to version 0.8.2 (elastic#16199)

    * Upgrade go-ucfg to master, for testing before 0.8.2 release.
    
    * Update notice.
    
    * Fix tests.
    
    * Update to the v0.8.2 release tag and remake NOTICE.txt.
    
    * Improve test name.
    blakerouse authored Feb 11, 2020
    Configuration menu
    Copy the full SHA
    f9403ce View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Configuration menu
    Copy the full SHA
    543a435 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'go-modules'

    kvch committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    095fbbd View commit details
    Browse the repository at this point in the history
  3. update notice

    kvch committed Feb 12, 2020
    Configuration menu
    Copy the full SHA
    4dc4eed View commit details
    Browse the repository at this point in the history