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

Fix jinja whitespace issue #80

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

sc68cal
Copy link
Contributor

@sc68cal sc68cal commented Apr 11, 2024

Fixes #79

This was tested with both api_key and username & password settings

@sc68cal
Copy link
Contributor Author

sc68cal commented Apr 11, 2024

    filebeat_output_elasticsearch_auth:
      username: "<username>"
      password: "<password>"
output:

  ### Elasticsearch as output
  elasticsearch:
    # Array of hosts to connect to.
    hosts: ["<host>"]

    # Optional auth via API Key or username/password.
    # The options are mutually exclusive and api_key takes the precedence.
    username: "<username>"
    password: "<password>"
    filebeat_output_elasticsearch_auth:
      api_key: foobar
output:

  ### Elasticsearch as output
  elasticsearch:
    # Array of hosts to connect to.
    hosts: ["<host>"]

    # Optional auth via API Key or username/password.
    # The options are mutually exclusive and api_key takes the precedence.
    api_key: "foobar"

@geerlingguy geerlingguy merged commit cd82ed4 into geerlingguy:master Apr 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid jinja2 template syntax
2 participants