Recently we have migrated from ELK 5.5.x to ELK 6.8.x.
If we run logstash configuration file without x-pack basic security, then we are getting good performance.
But if we enable x-pack basic security and add security related parameters in logstash conf file, then performance goes down and data ingestion process running very slow.
Below snippet we have added in input plugin -
hosts => [@logstash_elastic_hosts@]
user => "@logstash-security-user@"
password => "@logstash-security-pswd@"
same is for filter and output plugin.