Forum Discussion
nik_65678
Nimbostratus
Apr 05, 2010setting up syslog?
i've looked through the docs for info on logging to a remote syslog server via udp, everything i've tried results in the same error - anyone have any ideas?
b syslog remote server x.x.x.x
BIGpipe parsing error:
012e0022:3: The requested value (x.x.x.x) is invalid (show | | none) [add | delete]) for 'remote server' in 'syslog'
b syslog remote server x.x.x.x remote port 514
BIGpipe parsing error:
012e0022:3: The requested value (x.x.x.x remote) is invalid (show | | none) [add | delete]) for 'remote server' in 'syslog'
using v10:
uname -a
Linux blahblah.com 2.4.21-10.0.1.283.0smp 2 SMP Tue May 12 18:23:09 PDT 2009 i686 i686 i386 GNU/Linux
- L4L7_53191
Nimbostratus
This appears to work for me:[root@bigip1:Active:avc(0)] config b syslog remote server 'foo' host 10.20.20.1 add [root@bigip1:Active:avc(0)] config b syslog remote server show SYSLOG - Remote Server: +-> REMOTE SERVER foo [root@bigip1:Active:avc(0)] config b syslog remote server list syslog { remote server foo { host 10.20.20.1 } }
- nik_65678
Nimbostratus
ah ha - much better, thanks a lot. - nik_65678
Nimbostratus
bumping - just got around to working on this again. logging works fine but my issue is my big-ip sends the syslog message with a hostname of "local" which doesn't really help a lot for reporting and searching.. any ideas on how to change that?+---------+-------+----------+----------+--------+-------------+------------+----------+---------------------------+ | id | host | facility | priority | level | program | date | time | message | +---------+-------+----------+----------+--------+-------------+------------+----------+---------------------------+ | 6277214 | local | user | notice | notice | notice root | 2010-04-20 | 11:11:03 | notice root: test message | +---------+-------+----------+----------+--------+-------------+------------+----------+---------------------------+
- hoolio
Cirrostratus
Hi Nik, - nik_65678
Nimbostratus
i was under the impression that in v10 you needed to use the `b syslog` command instead of editing the file since it will be overwritten upon bigpipe config reload. - hoolio
Cirrostratus
Hi Nik, - nik_65678
Nimbostratus
i'm going to double-check with f5 support for a more "official" solution but what you linked is probably the best for now. i'll comment again once i have something working. - Michael_Yates
Nimbostratus
I developed the procedure that I use for this from the following Solutions (I used this on v9.4.x, I do not know if it would need to be altered for 10.1.x since I haven't had to modify that version yet): - sprashanthac_81
Nimbostratus
I am trying to set this up. I have to send all the logs to a remote syslog server. Some how this is not working. Can some one paste it as an example like it shows up in the manuals please - Troy_93881
Nimbostratus
Try this...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects