Forum Discussion
Logging XML/Soap elements and timestamp with iRule
We are looking to build an iRule to log XML/soap transaction times to HSL for SLA perpouses but we would also like to log 2 or 3 elements from the soap envelope such as MerchantID and TransactionID to be able to identify and correlate them later with application logs.
The payloads vary in size and we are not able to force HTTP 1.0 to get the payload content length for the HTTP:collect to work, as from reading various posts and KB articles, it is require for reliable HTTP data collection.
I was thinking along the lines of using a XML profile and XML_CONTENT_BASED_ROUTING to extract the values. As this would probably me more efficient the trying to collect and search for strings/values as i'm guessing this could actually cause latency. I have had a bit of a play with this but both values come out as a single value in the log.
Has anyone done something similar, or have any idea?
Thanks
Julian
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com