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

Multiple Hosts #235

Open
Alisher-Nabiev opened this issue Sep 18, 2024 · 2 comments
Open

Multiple Hosts #235

Alisher-Nabiev opened this issue Sep 18, 2024 · 2 comments

Comments

@Alisher-Nabiev
Copy link

how can i use Multiple Hosts in output to elasticsearch:

output {

elasticsearch {
host => 0.0.0.0 <-- need to add another host
port => 9200
bulk_limit => 1000
bulk_timeout => 100
pipeline => imei-pipeline
index_prefix => netflow
data_type => netflow
}
}

@braindawg
Copy link

I'm not sure there's a way to do this. I want to set up outputs to multiple MySQL databases (to get live data in both my production and staging environments), but have not been able to start 2 outputs using the same plugin without error.

@Dletta
Copy link
Collaborator

Dletta commented Nov 13, 2024

You can setup a second output inside the output.

output {
 elasticsearch {}
 elasticsearch {}
 }

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

No branches or pull requests

3 participants