Hello,
I'm running a server (FreeBSD 10.1 x64) with a jail inside. The host runs splunk forwarder so that logs from various source are forwarded to remote splunk indexers.
host ifconfig:
jail ifconfig:
jail syslog.conf ends with:
syslogd runs with default settings (just -s).
And Splunk forwarder listens to *:1234
In jail, I have a warning when I restart syslogd:
Unfortunately, logs from jail's syslog won't go to splunk, and I can't figure out why...
I'm quite lost here. Any hint?
I'm running a server (FreeBSD 10.1 x64) with a jail inside. The host runs splunk forwarder so that logs from various source are forwarded to remote splunk indexers.
host ifconfig:
Code:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:50:56:b8:f4:22
inet 192.168.143.219 netmask 0xffffff00 broadcast 192.168.143.255
inet 192.168.143.174 netmask 0xffffffff broadcast 192.168.143.174
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.174 netmask 0xffffffff
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33160
jail ifconfig:
Code:
em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
ether 00:50:56:b8:f4:22
inet 192.168.143.174 netmask 0xffffffff broadcast 192.168.143.174
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
lo1: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.174 netmask 0xffffffff
pflog0: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33160
jail syslog.conf ends with:
Code:
!*
*.* @127.0.0.174:1234
syslogd runs with default settings (just -s).
And Splunk forwarder listens to *:1234
In jail, I have a warning when I restart syslogd:
Code:
# service syslogd restart
Stopping syslogd.
Waiting for PIDS: 91938, 91938.
ln: /dev/log: Operation not permitted
Starting syslogd.
Unfortunately, logs from jail's syslog won't go to splunk, and I can't figure out why...
I'm quite lost here. Any hint?