BryanDavis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/175640

Change subject: beta: Use password to connect to logstash redis server
......................................................................

beta: Use password to connect to logstash redis server

Introduce use of a $wmgLogstashPassword that will be set in
PrivateSettings.php to authenticate to the redis server.

Bug: T845

Change-Id: Iaab00470aebfec278dd474335eb9c03e242bebbd
---
M wmf-config/logging-labs.php
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/40/175640/1

diff --git a/wmf-config/logging-labs.php b/wmf-config/logging-labs.php
index f889211..183da62 100644
--- a/wmf-config/logging-labs.php
+++ b/wmf-config/logging-labs.php
@@ -373,7 +373,8 @@
                                        function() {
                                                $redis = new Redis();
                                                // 
deployment-logstash1.eqiad.wmflabs
-                                               $redis->connect( 
'10.68.16.134', 6379 );
+                                               $redis->connect( 
'10.68.16.134', 6379, .25 );
+                                               $resis->auth( 
$wmgLogstashPassword );
                                                return $redis;
                                        },
                                        'logstash'

-- 
To view, visit https://gerrit.wikimedia.org/r/175640
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaab00470aebfec278dd474335eb9c03e242bebbd
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to