{"id":816,"date":"2012-07-26T12:02:09","date_gmt":"2012-07-26T04:02:09","guid":{"rendered":"http:\/\/rmohan.com\/?p=816"},"modified":"2012-07-26T12:16:44","modified_gmt":"2012-07-26T04:16:44","slug":"central-syslog-server","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=816","title":{"rendered":"Central Syslog Server"},"content":{"rendered":"<p>It\u2019s so easy if you want to have logs centrally. So you need to decide which server will be syslog server, and then do this:<\/p>\n<p>1. On the server edit: \/etc\/sysconfig\/syslog<\/p>\n<p>Make the settings like:<\/p>\n<p>SYSLOGD_OPTIONS=\u201d-m 0 -r\u201d<\/p>\n<p>2. On the client edit: \/etc\/syslog.conf<\/p>\n<p>Add this line:<\/p>\n<p>*.* \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0 @syslog_server_ip_address<\/p>\n<p>Thats all, your clients will send logs to central location, and also if you have other default configuration, they will log locally.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It\u2019s so easy if you want to have logs centrally. So you need to decide which server will be syslog server, and then do this:<\/p>\n<p>1. On the server edit: \/etc\/sysconfig\/syslog<\/p>\n<p>Make the settings like:<\/p>\n<p>SYSLOGD_OPTIONS=\u201d-m 0 -r\u201d<\/p>\n<p>2. On the client edit: \/etc\/syslog.conf<\/p>\n<p>Add this line:<\/p>\n<p>*.* @syslog_server_ip_address<\/p>\n<p>Thats all, your clients will send [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/816"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=816"}],"version-history":[{"count":3,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/816\/revisions"}],"predecessor-version":[{"id":818,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/816\/revisions\/818"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}