Ottomata has submitted this change and it was merged.

Change subject: emery: move api logs to erbium
......................................................................


emery: move api logs to erbium

RT #6143 and comments from otto on IRC

Change-Id: Ibfe63424e55cb8b7adfc2f0d3029add113054778
---
M templates/udp2log/filters.erbium.erb
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Ottomata: Verified; Looks good to me, approved



diff --git a/templates/udp2log/filters.erbium.erb 
b/templates/udp2log/filters.erbium.erb
index dfafefe..58e2013 100644
--- a/templates/udp2log/filters.erbium.erb
+++ b/templates/udp2log/filters.erbium.erb
@@ -19,3 +19,7 @@
 # apergos running on snapshot1.
 # gadolinium.wikimedia.org:3815 should be the webstats collector process.
 pipe 1 /usr/local/bin/filter | /usr/bin/log2udp -h gadolinium.wikimedia.org -p 
3815
+
+### API Usage
+pipe 100 /usr/bin/udp-filter -F '\t' -p /w/api.php >> <%= log_directory 
%>/api-usage.tsv.log
+

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibfe63424e55cb8b7adfc2f0d3029add113054778
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Matanya <mata...@foss.co.il>
Gerrit-Reviewer: Ottomata <o...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to