sipcapture / paStash

pastaʃ'ʃ = Spaghetti I/O Event Data Processing, Interpolation, Correlation and beyond :spaghetti:
http://sipcapture.io
Apache License 2.0
102 stars 28 forks source link

Multiple Hosts #235

Open Alisher-Nabiev opened 2 months ago

Alisher-Nabiev commented 2 months ago

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 commented 3 weeks ago

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 commented 1 week ago

You can setup a second output inside the output.

output {
 elasticsearch {}
 elasticsearch {}
 }