Message logging payload request is broken

Not applicable

<Message>system.time="{systemTimestampIsoDate}", clientid="{client_id}", request_content_length="{request.header.content-length}", response_content_length="{response.header.content-length}", transactionid="{transaction_id}", organization="{organization.name}", environment="{environment.name}", proxy_name="{apiproxy.name}", proxy_revision="{apiproxy.revision}", consumer_ip="{proxy.client.ip}", client_received_start_timestamp="{client.received.start.timestamp}", client_received_end_timestamp="{client.received.end.timestamp}", target_sent_start_timestamp="{target.sent.start.timestamp}", target_sent_end_timestamp="{target.sent.end.timestamp}", target_received_start_timestamp="{target.received.start.timestamp}", target_received_end_timestamp="{target.received.end.timestamp}", client_sent_start_timestamp="{client.sent.start.timestamp}", client_sent_end_timestamp="{client.sent.end.timestamp}", request_verb="{request.verb}", request_uri="{request.uri}", request_path="{request.path}", virtual_host="{virtualhost.name}", target_ip="{target.ip}", target_basepath="{target.basepath}", target_host="{target.host}", proxy="{proxy.name}", proxy_basepath="{proxy.basepath}", proxy_url="{proxy.url}", response_status_code="{response.status.code}", message_status_code="{message.status.code}", operation="{request.header.SOAPAction}", gtid="{request.header.X-Transaction-Ref}", requestPayload="{request.content}"</Message>

splunk log:

system.time="", clientid="", request_content_length="1222", response_content_length="", transactionid="", organization="autodesk-eis-np", environment="dev", proxy_name="mailbrokerdinesh", proxy_revision="8", consumer_ip="132.188.64.218", client_received_start_timestamp="1471379517306", client_received_end_timestamp="1471379517307", target_sent_start_timestamp="", target_sent_end_timestamp="", target_received_start_timestamp="", target_received_end_timestamp="", client_sent_start_timestamp="-1", client_sent_end_timestamp="-1", request_verb="POST", request_uri="/mailbrokerdinesh/v1/email/", request_path="/mailbrokerdinesh/v1/email/", virtual_host="https_vhost", target_ip="", target_basepath="", target_host="", proxy="default", proxy_basepath="/mailbrokerdinesh", proxy_url="http://192.168.60.115:11203/mailbrokerdinesh/v1/email/", response_status_code="", message_status_code="", operation="", gtid="", requestPayload="{

Proxy endpoints :postflow

0 2 314
2 REPLIES 2

Are the variables you are using visible in trace? Are they in-scope? This is handy reference: http://docs.apigee.com/api-services/reference/variables-reference

scope

need to add any any access message policy

if i am doing with request.content--payload is broken

request.body--an empty string is displayed