{"id":780,"date":"2022-05-14T10:27:14","date_gmt":"2022-05-14T08:27:14","guid":{"rendered":"https:\/\/www.cipv6.de\/worp\/?p=780"},"modified":"2024-12-16T10:32:34","modified_gmt":"2024-12-16T09:32:34","slug":"pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server","status":"publish","type":"post","link":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/","title":{"rendered":"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server"},"content":{"rendered":"\n<p>The option to send Pihole-logs to a remote syslogserver  is not implemented.<br>Good thing is that Pi-hole creates log-files.<br>How about adding these logfiles to the local (R-)Syslog-daemon and send it over to the external Syslog-Server via port 514 TCP\/UDP ?<\/p>\n\n\n\n<p>I use <a href=\"https:\/\/dietpi.com\/\">Dietpi<\/a> as the OS on my Raspi3+ and added <a href=\"https:\/\/pi-hole.net\/\">Pi-hole<\/a> as one of the supported apps .<\/p>\n\n\n\n<p>Dietpi has per default noSyslog-daemon activated.<br>The first step is to install a Syslog-daemon, in my case Rsyslog.<br>Install with root-privileges (sudo su):<br><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">apt install rsyslog<\/code><\/pre>\n\n\n\n<p>cd to \/etc\/rsyslog.d and create two files:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">nano pihole.conf\n\n$InputFileName \/var\/log\/pihole.log\n$InputFileTag pihole\n$InputRunFileMonitor\n$InputFilePersistStateInterval 1000<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">nano piholeftl.conf\n\n$InputFileName \/var\/log\/pihole-FTL.log\n$InputFileTag pihole-ftl\n$InputRunFileMonitor\n$InputFilePersistStateInterval 1000<\/code><\/pre>\n\n\n\n<p>as next alter rsyslog.conf and add the following lines<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">nano \/etc\/rsyslog.conf\n\n$ModLoad imfile\n$InputFileName \/var\/log\/pihole.log\n$InputFileName \/var\/log\/pihole-FTL.log\n*.* @10.50.100.5:514<\/code><\/pre>\n\n\n\n<p>10.50.100.5 is the external Syslog-Server. Dietpi sends now the syslog-information to the Syslog-Server 10.50.100.5 via TCP port 514.<br>Change the IP 10.50.100.5 to the Syslog-Server IP you want to use.<\/p>\n\n\n\n<p>restart Rsyslog-daemon:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">systemctl restart rsyslog<\/code><\/pre>\n\n\n\n<p>The Syslog-daemon receives now the Pi-hole logs:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"272\" data-attachment-id=\"783\" data-permalink=\"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/dietpilog-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?fit=2920%2C944&amp;ssl=1\" data-orig-size=\"2920,944\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"dietpilog-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?fit=840%2C272&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?resize=840%2C272&#038;ssl=1\" alt=\"\" class=\"wp-image-783\" srcset=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?resize=1024%2C331&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?resize=300%2C97&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?resize=768%2C248&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?resize=1536%2C497&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?resize=2048%2C662&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?resize=1200%2C388&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?w=1680&amp;ssl=1 1680w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?w=2520&amp;ssl=1 2520w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p>Addition: If you want to see also the DNS-queries go to Settings and Enable query logging:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"543\" data-attachment-id=\"784\" data-permalink=\"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/enablelogging\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?fit=2492%2C1612&amp;ssl=1\" data-orig-size=\"2492,1612\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"enablelogging\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?fit=840%2C543&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?resize=840%2C543&#038;ssl=1\" alt=\"\" class=\"wp-image-784\" srcset=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?resize=1024%2C662&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?resize=300%2C194&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?resize=768%2C497&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?resize=1536%2C994&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?resize=2048%2C1325&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?resize=1200%2C776&amp;ssl=1 1200w, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/enablelogging.png?w=1680&amp;ssl=1 1680w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>This brings also the DNS content to the external Syslog-Server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">May 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: query[A] bier.de from 10.50.100.13\nMay 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: forwarded bier.de to 1.0.0.1\nMay 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: dnssec-query[DS] bier.de to 1.0.0.1\nMay 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: reply bier.de is no DS\nMay 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: reply bier.de is 212.53.128.75\nMay 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: query[AAAA] bier.de from 10.50.100.13\nMay 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: forwarded bier.de to 1.0.0.1\nMay 14 09:58:27 DietPi local0 pihole May 14 09:58:26 dnsmasq[15529]: reply bier.de is NODATA-IPv6<\/code><\/pre>\n\n\n\n<p>Done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The option to send Pihole-logs to a remote syslogserver is not implemented.Good thing is that Pi-hole creates log-files.How about adding these logfiles to the local (R-)Syslog-daemon and send it over to the external Syslog-Server via port 514 TCP\/UDP ? I use Dietpi as the OS on my Raspi3+ and added Pi-hole as one of the &hellip; <a href=\"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"template-page-builder.php","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[65,61,64],"tags":[33,51,35,55,34],"class_list":["post-780","post","type-post","status-publish","format-standard","hentry","category-home-assistant","category-linux","category-security","tag-dietpi","tag-linux","tag-pi-hole","tag-raspi","tag-syslog"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server - cipv6.de<\/title>\n<meta name=\"description\" content=\"pi-hole external syslog dietpi 514 tcp\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server - cipv6.de\" \/>\n<meta property=\"og:description\" content=\"pi-hole external syslog dietpi 514 tcp\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/\" \/>\n<meta property=\"og:site_name\" content=\"cipv6.de\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-14T08:27:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-16T09:32:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1-1024x331.png\" \/>\n<meta name=\"author\" content=\"ugu5ma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilogog-2.png?fit=1146%2C914&ssl=1\" \/>\n<meta name=\"twitter:creator\" content=\"@ugu5ma\" \/>\n<meta name=\"twitter:site\" content=\"@ugu5ma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ugu5ma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/\"},\"author\":{\"name\":\"ugu5ma\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\"},\"headline\":\"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server\",\"datePublished\":\"2022-05-14T08:27:14+00:00\",\"dateModified\":\"2024-12-16T09:32:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/\"},\"wordCount\":173,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/dietpilog-1-1024x331.png\",\"keywords\":[\"dietpi\",\"Linux\",\"pi-hole\",\"Raspi\",\"syslog\"],\"articleSection\":[\"Home-Assistant\",\"Linux\",\"Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/\",\"url\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/\",\"name\":\"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server - cipv6.de\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/dietpilog-1-1024x331.png\",\"datePublished\":\"2022-05-14T08:27:14+00:00\",\"dateModified\":\"2024-12-16T09:32:34+00:00\",\"description\":\"pi-hole external syslog dietpi 514 tcp\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.cipv6.de\\\/worp\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/dietpilog-1.png?fit=2920%2C944&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.cipv6.de\\\/worp\\\/wp-content\\\/uploads\\\/2022\\\/05\\\/dietpilog-1.png?fit=2920%2C944&ssl=1\",\"width\":2920,\"height\":944},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/index.php\\\/2022\\\/05\\\/14\\\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#website\",\"url\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/\",\"name\":\"cipv6.de\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.cipv6.de\\\/worp\\\/#\\\/schema\\\/person\\\/5d62b275485540be9e5e9e33d4fab86d\",\"name\":\"ugu5ma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\",\"caption\":\"ugu5ma\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g\"},\"sameAs\":[\"https:\\\/\\\/cipv6.de\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server - cipv6.de","description":"pi-hole external syslog dietpi 514 tcp","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/","og_locale":"en_US","og_type":"article","og_title":"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server - cipv6.de","og_description":"pi-hole external syslog dietpi 514 tcp","og_url":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/","og_site_name":"cipv6.de","article_published_time":"2022-05-14T08:27:14+00:00","article_modified_time":"2024-12-16T09:32:34+00:00","og_image":[{"url":"https:\/\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1-1024x331.png","type":"","width":"","height":""}],"author":"ugu5ma","twitter_card":"summary_large_image","twitter_image":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilogog-2.png?fit=1146%2C914&ssl=1","twitter_creator":"@ugu5ma","twitter_site":"@ugu5ma","twitter_misc":{"Written by":"ugu5ma","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/#article","isPartOf":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/"},"author":{"name":"ugu5ma","@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d"},"headline":"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server","datePublished":"2022-05-14T08:27:14+00:00","dateModified":"2024-12-16T09:32:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/"},"wordCount":173,"commentCount":0,"publisher":{"@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d"},"image":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1-1024x331.png","keywords":["dietpi","Linux","pi-hole","Raspi","syslog"],"articleSection":["Home-Assistant","Linux","Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/","url":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/","name":"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server - cipv6.de","isPartOf":{"@id":"https:\/\/www.cipv6.de\/worp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/#primaryimage"},"image":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/#primaryimage"},"thumbnailUrl":"https:\/\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1-1024x331.png","datePublished":"2022-05-14T08:27:14+00:00","dateModified":"2024-12-16T09:32:34+00:00","description":"pi-hole external syslog dietpi 514 tcp","breadcrumb":{"@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/#primaryimage","url":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?fit=2920%2C944&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/05\/dietpilog-1.png?fit=2920%2C944&ssl=1","width":2920,"height":944},{"@type":"BreadcrumbList","@id":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/05\/14\/pi-hole-send-pihole-log-and-pihole-ftl-log-to-external-syslog-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cipv6.de\/worp\/"},{"@type":"ListItem","position":2,"name":"Pi-hole: send pihole.log and pihole-FTL.log to external Syslog-server"}]},{"@type":"WebSite","@id":"https:\/\/www.cipv6.de\/worp\/#website","url":"https:\/\/www.cipv6.de\/worp\/","name":"cipv6.de","description":"","publisher":{"@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cipv6.de\/worp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.cipv6.de\/worp\/#\/schema\/person\/5d62b275485540be9e5e9e33d4fab86d","name":"ugu5ma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g","caption":"ugu5ma"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/7211dd31d32612293e4228c8f880721a803dcc15211868f096ea9a8e77b6f316?s=96&d=mm&r=g"},"sameAs":["https:\/\/cipv6.de"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9uBTs-cA","jetpack-related-posts":[{"id":939,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/08\/26\/duplicati-rpi-setup-on-64-bit-ubuntu-os-jammy-22-04\/","url_meta":{"origin":780,"position":0},"title":"Duplicati RPi setup on 64-bit Ubuntu OS Jammy (22.04)","author":"ugu5ma","date":"August 26, 2024","format":false,"excerpt":"Setting up Duplicati on Ubuntu Jammy (22.04) for Raspberry Pi (RPI) is a great way to ensure your data is securely backed up. Duplicati is a free, open-source backup solution that allows you to store encrypted, incremental, and compressed backups on various cloud storage services and remote file servers.\u00a0It supports\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/08\/CleanShot-2024-08-26-at-11.43.33%402x.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":630,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2021\/01\/31\/daily-compression-of-influxdb\/","url_meta":{"origin":780,"position":1},"title":"daily compression of InfluxDB","author":"ugu5ma","date":"January 31, 2021","format":false,"excerpt":"InfluxDB is an open source time series database built by InfluxData and used in e.g. Openhab for data persistance.For small computers like raspi's it is a best practice to compress the database regurlarly. Why not using cron ? Well, it works.. the only (security)-drawback is to grant \/bin\/bash to the\u2026","rel":"","context":"In &quot;Influx&quot;","block_context":{"text":"Influx","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/influx\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1279,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2025\/02\/25\/secure-networking-with-hub-and-spoke-topology-using-wireguard-and-ebgp\/","url_meta":{"origin":780,"position":2},"title":"Secure Networking with Hub-and-Spoke Topology Using WireGuard and eBGP","author":"ugu5ma","date":"February 25, 2025","format":false,"excerpt":"Free Range Routing (FRR)\u00a0is a powerful, open-source routing software suite that provides implementations of various routing protocols, including BGP, OSPF, IS-IS, RIP, PIM, and more. It\u2019s designed to run on Linux and Unix-like systems, making it a flexible solution for a wide range of network setups\u2014from small labs to large-scale\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/02\/VPN-BGP-WireGuard-topology.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/02\/VPN-BGP-WireGuard-topology.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/02\/VPN-BGP-WireGuard-topology.jpg?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/02\/VPN-BGP-WireGuard-topology.jpg?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1068,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2024\/12\/14\/ssh-security-made-easy-an-introduction-to-ssh-audit\/","url_meta":{"origin":780,"position":3},"title":"SSH Security Made Easy: An Introduction to ssh-audit","author":"ugu5ma","date":"December 14, 2024","format":false,"excerpt":"ssh-audit is a powerful tool designed to help you assess the security of your SSH servers (and clients!). It provides detailed information about the server's configuration, supported algorithms, and potential vulnerabilities. In this guide, I'll walk you through the steps to install ssh-audit and run your first security tests. Secure\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/SSHsecurity.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/SSHsecurity.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/SSHsecurity.jpg?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2024\/12\/SSHsecurity.jpg?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":752,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2022\/04\/16\/influxdb-show-real-database-size-in-grafana\/","url_meta":{"origin":780,"position":4},"title":"Influxdb: show real database size in Grafana","author":"ugu5ma","date":"April 16, 2022","format":false,"excerpt":"Influxdb has no useful functions to look at the real database size. As I have created a retention policy combined with continuous queries I want to see the exact values per database. I use the following approach: in Crontab a bash is executed to get the real influxes database valuesthe\u2026","rel":"","context":"In &quot;Home-Assistant&quot;","block_context":{"text":"Home-Assistant","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/home-assistant\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2022\/04\/CleanShot-2022-04-16-at-09.31.31%402x.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":1335,"url":"https:\/\/www.cipv6.de\/worp\/index.php\/2025\/05\/04\/tmux-beats-disown-for-persistent-ssh-sessions\/","url_meta":{"origin":780,"position":5},"title":"tmux Beats disown for Persistent SSH Sessions","author":"ugu5ma","date":"May 4, 2025","format":false,"excerpt":"Why Terminal Session Persistence Matters Imagine this: you SSH into your server to launch a data backup that takes a couple of hours. Halfway through, your internet connection drops \u2014 and with it, the SSH session. When you reconnect, the process is gone. You have to start all over again,\u2026","rel":"","context":"In &quot;Linux&quot;","block_context":{"text":"Linux","link":"https:\/\/www.cipv6.de\/worp\/index.php\/category\/linux\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/05\/tmuxdisown.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/05\/tmuxdisown.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/05\/tmuxdisown.jpg?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.cipv6.de\/worp\/wp-content\/uploads\/2025\/05\/tmuxdisown.jpg?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/posts\/780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/comments?post=780"}],"version-history":[{"count":0,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/posts\/780\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/media?parent=780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/categories?post=780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cipv6.de\/worp\/index.php\/wp-json\/wp\/v2\/tags?post=780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}