Hi Greg,
The issue has now been resolved, turns out someone had manually enabled firewalld service which was blocking all traffic - as we have our infra hosted on Azure, security rules are set at subnet level rather than server. Thank you for your time.
I did, however, have another issue that I wanted to raise and my real problem. I can constantly see that redis input > redis output, this means that we're never able to clear redis queue and a substantial backlog always develops - meaning that data to elasticsearch always has a delay to it, varying from 1hr to a day (not ideal).
I have the following config on logstash, increasing pipeline.* values increases system resource usage but not necessarily performance
```
-
pipeline.id: CCP
path.config: "/etc/logstash/conf.d/CCP_logstash.conf"
pipeline.workers: 200
pipeline.batch.size: 1000
```
Threads correspond to connections logstash makes to redis server to poll data from (default batch_count: 125)
```
redis {
host => "
*redis_1* "
port => "6379"
data_type => "list"
key => "filebeat-ccp"
password => "
*** "
threads => 12
}
redis {
host => "
*redis_1* "
port => "6379"
data_type => "list"
key => "packetbeat-ccp"
password => " *** "
threads => 4
}
redis {
host => "
*redis_2* "
port => "6379"
data_type => "list"
key => "filebeat-ccp"
password => "
*** "
threads => 12
}
redis {
host => "
*redis_2* "
port => "6379"
data_type => "list"
key => "packetbeat-ccp"
password => "
*** "
threads => 4
}
redis {
host => "
*redis_3* "
port => "6379"
data_type => "list"
key => "filebeat-ccp"
password => " *** "
threads => 12
}
redis {
host => " *redis_3* "
port => "6379"
data_type => "list"
key => "packetbeat-ccp"
password => " *** "
threads => 4
}
```
Was wondering if there was an optimal way to set up logstash to poll data from redis, particularly around batch_count, batch_size and threads I feel is where you could most add value to as docs around these 3 together are lacking from my searches on the internet.
Let me know if you can answer this here or want me to start a new conversation?
Andrew