This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<MessageLogging async="false" continueOnError="false" enabled="true" name="setMessageLogging"> | |
<DisplayName>setMessageLogging</DisplayName> | |
<Syslog> | |
<Message variablePrefix="%" variableSuffix="#">[customerToken@41058 tag="%organization.name#.%apiproxy.name#.%environment.name#"] { | |
"apiproxy": { | |
"name": "%apiproxy.name#", | |
"revision": "%apiproxy.revision#" | |
}, | |
"application": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<MessageLogging async="false" continueOnError="false" enabled="true" name="setMessageLogging"> | |
<DisplayName>setMessageLogging</DisplayName> | |
<Syslog> | |
<!-- add logstash IP or host withhout HTTP scheme--> | |
<Host>{LOGSTASH_IP_OR_HOST}</Host> | |
<!-- make sure the JSON message is whitespaced free, workaround to parse JSON properly at logstash side--> | |
<Message variablePrefix="%" variableSuffix="#">{"systemTimeStamp":"%system.time.year#-%system.time.month#-%system.time.day#T%system.time.hour#:%system.time.minute#:%system.time.second#.%system.time.millisecond#Z","messageId":"%messageid#","statusCode":"%message.status.code#","contentType":"%request.header.Content-Type#","contentLength":"%client.received.content.length#","uri":"%request.uri#","path":"%request.path#","verb":"%request.verb#","meta":{"organization":"%organization.name#","product":"%apigee.apiproduct.name#","application":"%apigee.developer.app.name#","env ":"%enviro |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Copyright (c) 2011 IETF Trust and the persons identified as | |
authors of the code. All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, is permitted pursuant to, and subject to the license | |
terms contained in, the Simplified BSD License set forth in Section | |
4.c of the IETF Trust's Legal Provisions Relating to IETF Documents | |
(http://trustee.ietf.org/license-info). | |
*/ |