Log Records
luvpreetsingh opened this issue · 6 comments
luvpreetsingh commented
Does ngxtop save records for its own use , somewhere?
I mean how can it take out the top 20 requests ?
by
ngxtop -n 20
lebinh commented
Hi, ngxtop
parse the logs and keep the records in a in-memory sqlite database while it is running but not saving that anywhere else
luvpreetsingh commented
Hi,
Can we access that in-memory sqlite database for our convenience ?
…On Thu, Feb 23, 2017 at 10:17 AM, Binh Le ***@***.***> wrote:
Hi, ngxtop parse the logs and keep the records in a in-memory sqlite
database while it is running but not saving that anywhere else
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#74 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AWDm_DAag2f5fqo3o_87XMqou7nVPfIUks5rfQ97gaJpZM4MJIrW>
.
lebinh commented
Unfortunately no, and we don't provide any option to save that db. Although I am not sure why you would need to access that db? Also there is an option for you to run your own query on that db instead of the default reporting query with ngxtop [options] query <query>
luvpreetsingh commented
Okay. Thank you.
Can we pass two log files at one time to ngxtop ?
ngxtop -l access1.log access2.log ??
I was hoping to monitor 2 logs at one moment.
…On Thu, Feb 23, 2017 at 11:45 AM, Binh Le ***@***.***> wrote:
Unfortunately no, and we don't provide any option to save that db.
Although I am not sure why you would need to access that db? Also there is
an option for you to run your own query on that db instead of the default
reporting query with ngxtop [options] query <query>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#74 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AWDm_N1LLo2K2lwVuJ82qFW7PwYAQgmNks5rfSP5gaJpZM4MJIrW>
.
lebinh commented
@sLuvpreet33 you can do smth like this tail -fq access1.log access2.log | ngxtop
luvpreetsingh commented
Is there any kind of UI for using ngxtop ?
OR
it can be used only in command line?
…On Thu, Feb 23, 2017 at 12:23 PM, Binh Le ***@***.***> wrote:
@sLuvpreet33 <https://github.com/sLuvpreet33> you can do smth like this tail
-fq access1.log access2.log | ngxtop
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#74 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AWDm_OssKFNX_vU4clDuj4OrZTztUg_Vks5rfSz2gaJpZM4MJIrW>
.