{"id":22058,"date":"2021-07-08T05:38:02","date_gmt":"2021-07-08T05:38:02","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=22058"},"modified":"2021-10-27T10:18:55","modified_gmt":"2021-10-27T10:18:55","slug":"datadog-log-filter-logs-scrub-data-tail-with-wildcards","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/datadog-log-filter-logs-scrub-data-tail-with-wildcards\/","title":{"rendered":"Datadog Log: Filter logs, Scrub data, Tail with wildcards"},"content":{"rendered":"\n<p>Apply log processing rules to a specific log collection configurations to:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Filter logs<\/li><li>Scrub sensitive data from your logs<\/li><li>Proceed to multi-line aggregation<\/li><li>Tail directories by using wildcards<\/li><li>Encode UTF-16 format logs<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"852\" height=\"486\" src=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/07\/Datalog-Log-Filter-logs-include-exclude.jpg\" alt=\"\" class=\"wp-image-22059\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/07\/Datalog-Log-Filter-logs-include-exclude.jpg 852w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/07\/Datalog-Log-Filter-logs-include-exclude-300x171.jpg 300w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2021\/07\/Datalog-Log-Filter-logs-include-exclude-768x438.jpg 768w\" sizes=\"auto, (max-width: 852px) 100vw, 852px\" \/><\/figure>\n\n\n\n<script src=\"https:\/\/gist.github.com\/devops-school\/4936e6c7db26e6b768d4f8cfaf4a79d6.js\"><\/script>\n\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_14946\"><iframe loading=\"lazy\"  id=\"_ytid_93078\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_14946\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Apply log processing rules to a specific log collection configurations to: Filter logs Scrub sensitive data from your logs Proceed to multi-line aggregation Tail directories by using wildcards Encode UTF-16&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[],"class_list":["post-22058","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/22058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=22058"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/22058\/revisions"}],"predecessor-version":[{"id":24320,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/22058\/revisions\/24320"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=22058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=22058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=22058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}