Hi Members,
I am trying to log the data in loggly. So here are the steps followed.
-
Created an account in loggly
-
Using loggly 29 days free trial account
-
Once account created, customer token is captured.
-
Message policy is written as below and attached to the proxy pre flow
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
ML-Logging-Loggly
[1694919d-6c9e-************19@41058 tag="{organization.name}.{apiproxy.name}.{environment.name}"] test
*****.loggly.com
6514
TCP
true
true
INFO
5. After sending message I get 200 OK from APIGEE but when I am trying to check logs in loggly I dont see anything logged. Attached the screenshot for your reference
What could be I am doing wrong ?
Kind Regards
Arijit
You can try couple of options to investigate further:
- Try the non-secure port 514 to Loggly.
- Try ServiceCallout policy to post the message as given in this link
Thanks
Where did you place message logging policy?
https://docs.apigee.com/api-platform/reference/policies/message-logging-policy#usage
Sometimes it helps to run a packet captures(using tcpdump) to see from source apigee to destination loggly how the traffic is sent & any possibilities of firewall or any other reason why it is not ingesting the data.
Hi @API-Evangelist @ganadurai
I was using wrong hostname to send the message. The links for the loggly API documentation helped me to solve the problem. Many thanks
Kind Regards
Arijit