not too many libraries, but this one (in Python) looks like it could be
rewritten in XQuery quite easily. not that I have any experience with
protobuffer...

https://github.com/tmarthal/pb2xml/blob/master/py/xml_format.py



cheers,
Jakob.


On Thu, Jun 26, 2014 at 5:09 PM, Zegers, Emil <[email protected]>
wrote:

> Hi Geert,
>
> Yes I can send the output from dynaTrace directly to MarkLogic REST, it is
> a POST. So then I store the binary protobuf data in MarkLogic. But how to
> turn it into something useful then inside MarkLogic? I need to convert from
> protobuf to xml/json somewhere and try to avoid additional software. I
> cannot find (or write) a decent xquery protobuf2xml library... :-)
>
> Regards,
>
> Emil
>
>
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Geert Josten
> Sent: 26 June 2014 16:59
> To: 'MarkLogic Developer Discussion'
> Subject: Re: [MarkLogic Dev General] Load Google Protobuf data in
> MarkLogic?
>
> Hi Emil,
>
> Can't dynaTrace target ML directly with a POST (or PUT)? If you can tell
> it how to post against the REST api, you don't even need to write code..
>
> Cheers,
> Geert
>
> Van: [email protected] [mailto:
> [email protected]] Namens Zegers, Emil
> Verzonden: donderdag 26 juni 2014 14:16
> Aan: [email protected]
> Onderwerp: [MarkLogic Dev General] Load Google Protobuf data in MarkLogic?
>
> Hi,
>
> I'm using Compuware dynaTrace software to monitor application performance.
> I can export data in Google Protobuf format through POST requests from
> Compuware dynaTrace.
>
> I want to load the exported data into MarkLogic. We have an integration
> with Splunk that uses Flume as intermediary sink where Splunk then picks up
> the data (file based).
>
> Is it possible to load Google Protobuf format data into MarkLogic more
> directly to avoid Flume as system in between?
>
> Tips and ideas how to accomplish this are appreciated.
>
> Regards,
>
> Emil
>
>
> Emil Zegers, Solution Consultant, Compuware APM
> +31 6 19929703 [email protected]
>
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it. Compuware B.V. (Registration number:
> 33227492) is a company registered in the Netherlands whose registered
> office is at Hoogoorddreef 60, 1101 BE Amsterdam, The Netherlands
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or
> disclose it to anyone else. If you received it in error please notify us
> immediately and then destroy it. Compuware B.V. (Registration number:
> 33227492) is a company registered in the Netherlands whose registered
> office is at Hoogoorddreef 60, 1101 BE Amsterdam, The Netherlands
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to