K
K
Konstantin2021-04-28 11:50:12
Web development
Konstantin, 2021-04-28 11:50:12

How to parse and convert log to xml?

I have a log file (.log format) on the server (the server's responses to payments from the site are stored there), I need to parse this data (since the file is updated every 5 minutes) and save it in xml

Are there more or less ready-made tools how to implement this ? I have no idea how this technology works. (is it possible to implement with js?)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Ukolov, 2021-04-28
@gradk

To answer the question of whether there are ready-made tools for parsing, you must first see the format of the data that you want to parse.
There are ready-made mechanisms for saving the data structure in XML in one form or another in almost any programming language.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question