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

Enable agent to send custom headers to kibana/ES #26275

Merged
merged 33 commits into from
Jun 18, 2021

Commits on Jun 10, 2021

  1. add custom headers

    michalpristas committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    becc30b View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2021

  1. Configuration menu
    Copy the full SHA
    8d91386 View commit details
    Browse the repository at this point in the history
  2. headers

    michalpristas committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    4515d5e View commit details
    Browse the repository at this point in the history
  3. changelog

    michalpristas committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    de598b3 View commit details
    Browse the repository at this point in the history
  4. rename

    michalpristas committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    9ebe416 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e92ef42 View commit details
    Browse the repository at this point in the history
  6. missing headers def

    michalpristas committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    d9c0e99 View commit details
    Browse the repository at this point in the history
  7. missing headers def

    michalpristas committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    b159ebd View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2021

  1. headers

    michalpristas committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    8695fed View commit details
    Browse the repository at this point in the history
  2. rename

    michalpristas committed Jun 15, 2021
    Configuration menu
    Copy the full SHA
    449476d View commit details
    Browse the repository at this point in the history
  3. Update enroll.go

    michalpristas authored Jun 15, 2021
    Configuration menu
    Copy the full SHA
    029203b View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2021

  1. [Oracle] Fixing default values for paths in config template (elastic#…

    …26276)
    
    * fixing some typos in the default oracle config, and adding default values
    
    * adding changelog entry
    P1llus authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    c711673 View commit details
    Browse the repository at this point in the history
  2. Change xml processor names in script processor to match convention (e…

    …lastic#26263)
    
    In the script processor, the `decode_xml` and `decode_xml_wineventlog` processors are now available as `DecodeXML` and `DecodeXMLWineventlog` respectively. This follows the same naming conventions as other processors exposed though the `script` processor. For example you can write `new processor.DecodeXML({...})`.
    andrewkroh authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    8859a2b View commit details
    Browse the repository at this point in the history
  3. [filebeat] Add preserve_original_event option to o365audit input (ela…

    …stic#26273)
    
    * Add preserve_original_event option to o365audit input
    
    * Use String method from MapStr
    
    * Add test
    marc-gr authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    5f9e7a5 View commit details
    Browse the repository at this point in the history
  4. Report total and free CPU for vSphere virtual machines (elastic#26167)

    Use configured CPU as total, use it to calculate free too.
    Total and free resources are only reported if they are configured
    with a total greater than zero.
    jsoriano authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    ef933b4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b053a3 View commit details
    Browse the repository at this point in the history
  6. Add support note (elastic#26283)

    EamonnTP authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    553be20 View commit details
    Browse the repository at this point in the history
  7. Add log.flags and object metadata to aws-s3 input events (elastic#26267)

    * Add log.flags and object metadata to aws-s3 input events
    
    This adds the log.flags field created by the line readers to aws-s3 events. log.flags contains metadata like `multiline` and `truncated` to indicate how the data was processed.
    
    This also adds a config option to include S3 object metadata in the event if it exists. The use case for me was to get the Last-Modified timestamp for cases where the log does not have a timestamp or it cannot be parsed. Then this can be used as a fallback.
    
    * Pass metadata using s3Info struct to avoid adding new func params
    andrewkroh authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    54981fe View commit details
    Browse the repository at this point in the history
  8. Handle data returned with io.EOF in LineReader (elastic#26260)

    The libbeat LineReader implementation did not handle the case where the underlying io.Reader
    it was reading from returns bytes and io.EOF. It was discarding the data in this case.
    
    As per the io.Reader contract:
    
        a Reader returning a non-zero number of bytes at the end of the input stream may return either err == EOF or err == nil.
    
    This occurs often with the gzip.Reader. It returns a large chunk of data at the end of the file and io.EOF at the same time.
    andrewkroh authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    2d44d87 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    da028ac View commit details
    Browse the repository at this point in the history
  10. First refactor of the system module - system/cpu and system/core (ela…

    …stic#25771)
    
    * initial commit
    
    * finux linux refactor
    
    * fix up freebsd
    
    * port main metricset, start openbsd
    
    * start work on openbsd vagrantfile
    
    * refactors of API, add darwin support
    
    * fix darwin implementation
    
    * refactor API, move tests, remove old code, take a crack at AIX
    
    * fix aix init func
    
    * fix tests
    
    * regenerate core data.json
    
    * small fixes, fix host field
    
    * update tests
    
    * run correct mage commands
    
    * try to fix system tests
    
    * more fixes for windows python tests
    
    * refactor CPU struct, use reflection
    
    * refactor reflection code, add validation
    
    * move metrics to its own internal folder
    
    * move directories, again
    
    * move directories, again
    
    * use optional Uint type
    
    * cleanup opt files
    
    * move around naming of opt types
    
    * fix up if block
    
    * change opt names
    
    * move around opt methods, cpu stat reader refactor
    
    * fix IsZero usage
    
    * add changelog
    fearful-symmetry authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    6f6302e View commit details
    Browse the repository at this point in the history
  11. Don't include full ES index template in errors (elastic#25743)

    * Don't include full ES index template in errors
    
    Index templates in some beats can be very large (~1MB) and including the data in errors can use a lot of memory and also makes for very large log lines. If the error is recurring then this makes the effects worse. So this change removes the index template body from the error. Users that need to see the index template for debugging can use `<beatname> export template --es.version=1.2.3`.
    
    Fixes elastic#25540
    
    * Update expected log messages in tests
    andrewkroh authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    01f6530 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ee2777d View commit details
    Browse the repository at this point in the history
  13. [Packetbeat] Add url.extension to Packetbeat HTTP events (elastic#2…

    …5999)
    
    * elastic#25990: Add `url.extension` to Packetbeat HTTP events
    
    * update changelog
    
    * add tests
    
    * updated per comment
    legoguy1000 authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    2d8b720 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e5e74e3 View commit details
    Browse the repository at this point in the history
  15. Updated filter expression for filtering 86 artifacts (elastic#26313)

    Updated filter expression for filtering 86 artifacts (elastic#26313)
    michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    5c5e7d8 View commit details
    Browse the repository at this point in the history
  16. Forward port 7.13.2 changelog to master (elastic#26323)

    * Forward port 7.13.2 changelog to 7.x (elastic#26315)
    
    * docs: Prepare Changelog for 7.13.2 (elastic#26302)
    
    * docs: Close changelog for 7.13.2
    
    * Cleanup
    
    Co-authored-by: Andres Rodriguez <andresrc@gmail.com>
    (cherry picked from commit 0075f76)
    
    * Edit 7.13.2 changelog (elastic#26304)
    
    * Edit 7.13.2 changelog
    
    * Remove unneeded line
    
    Co-authored-by: Andres Rodriguez <andresrc@gmail.com>
    (cherry picked from commit 460ebf2)
    
    * Cleanup and fixes
    
    * More cleanup and fixes
    
    Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
    Co-authored-by: DeDe Morton <dede.morton@elastic.co>
    (cherry picked from commit 3c9c96a)
    
    * Cleanup
    andresrc authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    77deb96 View commit details
    Browse the repository at this point in the history
  17. Update go-structform to 0.0.9 (elastic#26251)

    Steffen Siering authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    e608bb6 View commit details
    Browse the repository at this point in the history
  18. [Filebeat] [MongoDB] Support MongoDB 4.4 json logs (elastic#24774)

    MongoDB 4.4 uses structured JSON format for logging, add support
    for this format while keeping support for the old one too.
    tetianakravchenko authored and michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    939964b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    12a2fd0 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    255e83c View commit details
    Browse the repository at this point in the history
  21. rename

    michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    b9ee11a View commit details
    Browse the repository at this point in the history
  22. conflicts

    michalpristas committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    58f3526 View commit details
    Browse the repository at this point in the history