Page 1 of 2

Syslog

Posted: Mon Jan 28, 2019 6:23 am
by 2E0GTT
Is it possible to implement syslog on the device, so the call logs could be sent to a syslog server for viewing?
Thanks

Re: Syslog

Posted: Mon Jan 28, 2019 7:09 am
by HA2NON
The OS2 already supports sending it's logs to a syslog server (Network page, Network settings section)

Re: Syslog

Posted: Tue Jan 29, 2019 7:37 pm
by 2E0GTT
Are there any restrictions? I am using a cloud based syslog server, it has a specific port number that I am entering in the normal url way.

Re: Syslog

Posted: Tue Jan 29, 2019 8:40 pm
by HA2NON
The openSPOT2 sends syslog to the standard syslog UDP port 514.

Re: Syslog

Posted: Tue Jan 29, 2019 9:15 pm
by 2E0GTT
And can’t be overridden by the the port number in the url? If true can you add that to the list please?

Re: Syslog

Posted: Wed Jan 30, 2019 3:57 am
by k6osx
I'm using UDP, port 514 and sending logs from OS2 to the syslog server on my Synology NAS without any issues.
Screenshot 2019-01-29 at 7.49.54 PM.png

Re: Syslog

Posted: Wed Jan 30, 2019 7:22 am
by 2E0GTT
Yes I get that, I use a cloud syslog provider and they use a bespoke port unfortunately.

Re: Syslog

Posted: Wed Jan 30, 2019 2:50 pm
by k6osx
One option might be to capture OS2 logs to a local syslog host (using UDP/514) then forward logs to remote bespoke syslog server. The local syslog server I am using allows me to send log info to a remote host, and allows entry of a specific port address for remote host.
Screenshot 2019-01-30 at 6.46.36 AM.png

Re: Syslog

Posted: Wed Jan 30, 2019 4:53 pm
by vocoder
Very cool. I'll have to look into setting up something like this. I noticed from your other screen capture that you have VS Code running on your Chromebook. Does it (VS Code) run well on Chrome OS? I know you have to run your Chromebook in developer mode, install the crouton extension, etc..
k6osx wrote:
Wed Jan 30, 2019 3:57 am
I'm using UDP, port 514 and sending logs from OS2 to the syslog server on my Synology NAS without any issues.

Screenshot 2019-01-29 at 7.49.54 PM.png

Re: Syslog

Posted: Wed Jan 30, 2019 10:39 pm
by k6osx
I haven't really pushed VSCode too hard, so far it has been good. I have VSCode setup with vim key bindings and a few dev extentions for html/css, javascript and go... Intellisense works well and VSCode's visual look is appealing on the Pixelbook screen. It has been a long time since I've had to any significant amounts of coding, so I installed VSCode primarly for Intellisense (using it is like cheating on a test)... just started digging into Go. I use vim daily for my net admin script/config/etc file editing... vim & tmux work well on the Pixelbook.

I have the entry level Pixelbook (i5 mobile, 8GB RAM & 128GB SSD), it is a nice machine and I have been pleasantly surprised how much work I can get done with ChromeOS and the limited Linux VM. You don't have to use developer mode anymore for Linux support. Just go to ChromeOS Settings screen and enable Linux (Beta) option. In my previous screen shot, the icon to the right of the VSCode icon is the Linux terminal icon. I have read that ChromeOS is using KVM to run a limited Debian VM, along with snaps and LXD to run Linux GUI apps. So far, VS Code has been supported well and updated frequently... using apt from the terminal keeps everything current. I have run into a few development roadblocks given the limited Debian VM that require me to pull out my Linux notebook, but in time, the limited VM will be replaced with a full Linux VM.