Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.23k stars 568 forks source link

big wish second - log export explain ;-) #1563

Open wvt-adm opened 4 years ago

wvt-adm commented 4 years ago

good morning @Ylianst, under issues #1481 you have make this teamviewer comment available. thanks for this, now i have the problem, that i must export the log, but this log is not really in that form, that i can use it. it is possible to explain how i can export it in a way that we can use it?

i need it in this form: csv or xls(x) with the following columns

device name / start date/ start time / end date / end time / duration / notiz (this teamviewer comment thing ;-))

it is possible to have it under my events - separate register like export session protocol for the billing? real cool when you can store this billing log for a year (history) in this page also.

thanks a lot for your help

cgb commented 4 years ago

Hey @wvt-adm , I found the notes at end of a session get syslog'ed, so if you set that up, you might be able to store it centrally and also write something to process it into the form you want..

e.g. an example line looks like this (using jq to nicely format it):

2020-07-01T11:21:17.704421+09:30 localhost meshcentral-json[460]: { "etype": "node", "userid": "user//chris", "username": "chris", "nodeid": "node//xxx", "action": "manual", "msg": "Wed Jul 01 2020 11:21:02 GMT+0930 (Australian Central Standard Time): My note text", "domain": "" } `

Maybe that is enough for your requirement?

wvt-adm commented 4 years ago

Good morning Ylianst, hmm - sounds good, but I don't understand that ;-) sorry - I am just a "clickadmin" :-)

i am aware that you are programming at many corners and ends. i hope you have time and energy for this expansion.

there is already an export function under log, can't you make a tab with the log export you need for the billing, like with recordings?

then store what you have exported under it exactly the same way as for recordings? so that you could fetch it again?

since i'm probably not the only one who is interested in it, and others probably have other wishes for the export, would it be possible to adjust what you want, e.g. via filter?

an export to use it for billing should contain: device name (editet version) / date / start time / duration and the note...

as mentioned above i am only clickadmin and would be happy if you could implement this.

greetings and thanks for the really great software

Translated with www.DeepL.com/Translator (free version)