Hi - does anyone do log aggregation with FreeSWITCH, so that the individual server doesn't store any unique information on it? mod_json_cdr/mod_xml_cdr lets you post to an HTTP endpoint, and if it fails, to write it to disk. Is there something similar for the log lines, as seen in freeswitch.log? There seems to be a mod_syslog, but I don't see any information about it. I'm guessing that ESL provides all the same information as in the freeswitch.log, but I haven't really played with it nor have seen examples. I guess it's not too bad if some lines get lost... Thanks, -Avi Marcus
I parse csv and place all data as i want in remote sql server. That is a good aproach not to bother fs to keep connections with external databases. Especially when you do load balancing between FreeSWITCHes. 16 авг. 2015 г. 9:59 пользователь "Avi Marcus" <avi@avimarcus.net> написал:
Hi - does anyone do log aggregation with FreeSWITCH, so that the
individual server doesn't store any unique information on it?
mod_json_cdr/mod_xml_cdr lets you post to an HTTP endpoint, and if it
fails, to write it to disk.
Is there something similar for the log lines, as seen in freeswitch.log?
There seems to be a mod_syslog, but I don't see any information about it. I'm guessing that ESL provides all the same information as in the freeswitch.log, but I haven't really played with it nor have seen examples. I guess it's not too bad if some lines get lost...
Thanks,
-Avi Marcus
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
fs_cli shows you all the logs, and it talks via ESL connection only. I guess that should be enough for a hint :) On Aug 16, 2015 5:59 AM, "Avi Marcus" <avi@avimarcus.net> wrote:
Hi - does anyone do log aggregation with FreeSWITCH, so that the individual server doesn't store any unique information on it?
mod_json_cdr/mod_xml_cdr lets you post to an HTTP endpoint, and if it fails, to write it to disk. Is there something similar for the log lines, as seen in freeswitch.log?
There seems to be a mod_syslog, but I don't see any information about it. I'm guessing that ESL provides all the same information as in the freeswitch.log, but I haven't really played with it nor have seen examples. I guess it's not too bad if some lines get lost...
Thanks,
-Avi Marcus
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi Avi, You have also support for graylog2 afaik. (r)Syslog is usually very simple to do, you create a rule at rsyslog.conf (or /etc/rsyslog.d/ depends on your distro and actual syslog implementation) and then configure with freeswitch the facility to use. Having said that, I did not tried it myself, only have a lot of experience with syslog (not something to be proud of :) ). Ido On Sun, Aug 16, 2015 at 6:58 AM, Avi Marcus <avi@avimarcus.net> wrote:
Hi - does anyone do log aggregation with FreeSWITCH, so that the individual server doesn't store any unique information on it?
mod_json_cdr/mod_xml_cdr lets you post to an HTTP endpoint, and if it fails, to write it to disk. Is there something similar for the log lines, as seen in freeswitch.log?
There seems to be a mod_syslog, but I don't see any information about it. I'm guessing that ESL provides all the same information as in the freeswitch.log, but I haven't really played with it nor have seen examples. I guess it's not too bad if some lines get lost...
Thanks,
-Avi Marcus
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
mod_graylog2 can send logs to either graylog or logstash
On Aug 16, 2015, at 07:25, ik <idokan@gmail.com> wrote:
Hi Avi,
You have also support for graylog2 afaik.
(r)Syslog is usually very simple to do, you create a rule at rsyslog.conf (or /etc/rsyslog.d/ depends on your distro and actual syslog implementation) and then configure with freeswitch the facility to use.
Having said that, I did not tried it myself, only have a lot of experience with syslog (not something to be proud of :) ).
Ido
On Sun, Aug 16, 2015 at 6:58 AM, Avi Marcus <avi@avimarcus.net> wrote: Hi - does anyone do log aggregation with FreeSWITCH, so that the individual server doesn't store any unique information on it?
mod_json_cdr/mod_xml_cdr lets you post to an HTTP endpoint, and if it fails, to write it to disk. Is there something similar for the log lines, as seen in freeswitch.log?
There seems to be a mod_syslog, but I don't see any information about it. I'm guessing that ESL provides all the same information as in the freeswitch.log, but I haven't really played with it nor have seen examples. I guess it's not too bad if some lines get lost...
Thanks,
-Avi Marcus
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Avi Marcus
-
cmrienzo@gmail.com
-
ik
-
Kamil Nigmatullin
-
Stanislav Sinyagin