Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: logstash-plugins/logstash-input-elasticsearch
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: logstash-plugins/logstash-input-elasticsearch
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4.x
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 21 files changed
  • 8 contributors

Commits on Dec 18, 2024

  1. Backport support for custom headers (#217)

    Co-authored-by: flexitrev <trevor.blackford@elastic.co>
    Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
    3 people authored Dec 18, 2024
    Configuration menu
    Copy the full SHA
    da0a2d9 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2025

  1. Tolerate failure (#183)

    * test setup: ensure presence of /etc/protocols
    
    * test setup: actually run secure_integration tests
    
    When SECURE_INTEGRATION is speicified, the (non-secure) `:integration` specs
    are excluded, so we cannot have the `:secure_integration` specs wrapped in a
    context flagged as `:integration`.
    
    * test setup: regnerate test certs (and add regen script)
    
    * test setup: give ES the full cert chain
    
    In order for the `ca_trusted_fingerprint` specs to work with the CA's
    fingerprint, ES needs to be configured to present a cert chain that
    includes the CA.
    
    * resilience: prevent failures from crashing plugin
    
    When an Event cannot be created directly from the hit, or when the
    docinfo cannot be merged into a non-hash field in the hit, emit an
    Event tagged with `_elasticsearch_input_failure` that contains the
    JSON-encoded hit in `[event][original]` instead of crashing.
    
    * add link to changelog
    
    * remove orphan method from refactor
    yaauie authored Jan 7, 2025
    Configuration menu
    Copy the full SHA
    4380219 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2025

  1. Merge pull request #223 from mashhurs/support-elastic-transport-client

    Adds elastic-transport client support.
    
    (cherry picked from commit b920701)
    mashhurs committed Mar 17, 2025
    Configuration menu
    Copy the full SHA
    6b80519 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    mashhurs authored Mar 17, 2025
    Configuration menu
    Copy the full SHA
    3f37223 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b169fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de38377 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #225 from mashhurs/elastic-transport-support-4.x

    Merge pull request #223 from mashhurs/support-elastic-transport-client
    mashhurs authored Mar 17, 2025
    Configuration menu
    Copy the full SHA
    7b76df7 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2025

  1. Introduce cursor tracking akin to jdbc input (#205) (#234)

    Provide field value tracking, persisted to disk on each search_after page.
    
    Adds `:last_value` and `:present` placeholders, allowing the plugin to inject the cursor value and now-30 seconds, respectively, in the query string.
    
    Useful to track new data being written to an index or series of indices.
    
    Works best with nano second precision timestamps added by Elasticsearch's Ingest Pipelines.
    
    ---------
    
    Co-authored-by: Joel Andritsch <joel.andritsch@gmail.com>
    Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
    Co-authored-by: Karen Metts <35154725+karenzone@users.noreply.github.com>
    4 people authored Apr 7, 2025
    Configuration menu
    Copy the full SHA
    e2be852 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2025

  1. ES|QL support (#235)

    * ES|QL support
    
    - introduces query_type params, accepts dsl or esql option.
    - adds ES|QL executor to execute ESQL query and parse/map response to event
    validations
    - make sure LS (8.17.4+) supports ES|QL (new elasticsearch-ruby client)
    - make sure connected ES is greater than 8.11+
    - query isn't empty or meaningful that starts with command syntax
    - if query_type is esql, make sure we accept meaningful inputs and do not allow response_type, index, etc.. DSL related params
    - informing if query isn't using METADATA which adds _id, _version to the response entries
    - informing ineffective params such as size, search_api, target if users configure
    ES|QL results field names in a dotted format. The plugin reproduces nested (example {a.b.c: 'val'} => {'a':{'b':{'c':'val'}}})
    
    * Update CHANGELOG.md
    mashhurs authored Jun 6, 2025
    Configuration menu
    Copy the full SHA
    79f9f43 View commit details
    Browse the repository at this point in the history
Loading