{"id":6677,"date":"2020-04-20T16:12:42","date_gmt":"2020-04-20T20:12:42","guid":{"rendered":"https:\/\/kevinjustin.com\/blog\/?p=6677"},"modified":"2020-04-21T16:58:13","modified_gmt":"2020-04-21T20:58:13","slug":"omsagent-fluentd-debunked","status":"publish","type":"post","link":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/","title":{"rendered":"OMSAgent FluentD debunked &#8211; Configure Linux FluentD &#8211; part2"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/Stoked.jpg\" alt=\"Are you stoked and fired up to Configure Linux FluentD - part2 !?\" width=\"300\" height=\"200\" \/><\/p>\n<h2><\/h2>\n<h2>Now to begin &#8211; OMSAgent FluentD debunked<\/h2>\n<h5>Configure Linux FluentD &#8211; part2 &#8211;&gt; see part one (1) <a href=\"https:\/\/kevinjustin.com\/blog\/2020\/04\/16\/configure-linux-fluentd-configure-linux-fluentd\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>)<\/h5>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>First, my thanks to Mike Johnston@Microsoft (CSS SEE SME) to help validate my steps and testing, to configure Linux FluentD on an Ubuntu server!\u00a0 Are you ready to bust a myth &#8211; OMSAgent FluentD debunked<\/p>\n<p>&nbsp;<\/p>\n<p>If you&#8217;re starting fresh, or just joining, start with <a href=\"https:\/\/kevinjustin.com\/blog\/2020\/04\/16\/configure-linux-fluentd-configure-linux-fluentd\/\" target=\"_blank\" rel=\"noopener noreferrer\">Part 1<\/a>.\u00a0 And Part 1 configures packs and assumes SCOM agent is installed and working.\u00a0 Because it&#8217;s time to use the feature, we need to get the agent configured and tested.<\/p>\n<p>&nbsp;<\/p>\n<h2>Part one (1) quick summary<\/h2>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Verify pre-reqs &#8211; SCOM Linux Management packs for Linux\/Universal Linux (2019 @ 10.19.1082.0), UNIX\/Linux Log File monitoring (2019 @ 10.19.1008.0)<\/li>\n<li>Linux server has SCOM Agent installed, configured, and updated (sudoers configured) &#8211; <a href=\"https:\/\/kevinjustin.com\/blog\/2018\/09\/04\/mma-agent-cross-platform-and-azure\/\" target=\"_blank\" rel=\"noopener noreferrer\">GUI blog here<\/a><\/li>\n<li>Use docs.microsoft.com <a href=\"https:\/\/docs.microsoft.com\/en-us\/system-center\/scom\/manage-linux-logfiles?view=sc-om-2019\" target=\"_blank\" rel=\"noopener noreferrer\">article<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h5><\/h5>\n<p>&nbsp;<\/p>\n<h2>Load Sample Log monitoring pack<\/h2>\n<p>This piece is missing in the doc, but the content development team has this covered in a subsequent docs <a href=\"https:\/\/docs.microsoft.com\/en-us\/system-center\/scom\/manage-sample-configuration-file?view=sc-om-2019\" target=\"_blank\" rel=\"noopener noreferrer\">article<\/a>.\u00a0 We need to load a sample log monitoring pack to the SCOM management group, so we can test functionality.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/OMEDmgmtpack.png\" alt=\"Configure FluentD part 2 - This is a picture of the SCOM console GUI showing the OMED pack installed from the Admin tab &gt; Management Packs &gt; Installed Management Packs &gt; with omed in the 'look for:' bar\" width=\"1368\" height=\"366\" \/><\/p>\n<p>Grab the file <a href=\"https:\/\/kevinjustin.com\/files\/ConfigureFluentDOnLinux.zip\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>, otherwise you can copy\/paste from the docs article pretty easily.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Verify OMED service running on Management Server<\/h2>\n<p>It&#8217;s now time to enable the OMED service on the management server, and we can start with the docs <a href=\"https:\/\/docs.microsoft.com\/en-us\/system-center\/scom\/manage-linux-logfiles?view=sc-om-2019#enable-the-omed-service\" target=\"_blank\" rel=\"noopener noreferrer\">subsection<\/a><\/p>\n<p><strong>Navigation steps from SCOM console<\/strong> (GUI)<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>From the Operations console, go to <strong>Monitoring<\/strong>&gt;<strong>Operations Manager<\/strong>&gt;<strong>Management Server<\/strong>&gt;<strong>Management Servers State<\/strong>.<\/li>\n<li>Select the management server in the <strong>Management Servers state<\/strong>.<\/li>\n<li>From <strong>Tasks<\/strong>, select <strong>Health Service Tasks<\/strong>&gt;<strong>Enable System Center OMED Server<\/strong><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><strong>Steps to set\/start service PowerShell<\/strong> (as admin)<\/p>\n<p># Verify service startup type is automatic<\/p>\n<p><span style=\"color: #0000ff;\">get-Service OMED | select -property Name,Starttype<\/span><\/p>\n<p style=\"padding-left: 40px;\"># Example output<\/p>\n<div style=\"padding-left: 40px;\">PS C:\\Users\\admin&gt; Get-Service OMED | select -property name,starttype<\/div>\n<div style=\"padding-left: 40px;\">Name StartType<br \/>\n&#8212;- &#8212;&#8212;&#8212;<br \/>\nOMED Automatic<\/div>\n<p style=\"padding-left: 40px;\"># Set startup type<\/p>\n<p>&nbsp;<\/p>\n<p># Start OMED service on SCOM management server (MS)<\/p>\n<p><span style=\"color: #0000ff;\">start-service OMED<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Now we&#8217;re ready to test the UNIX agent!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Configure SCOM\/OMSagent on Linux server<\/h2>\n<p>And now it&#8217;s time to switch to the agent side.\u00a0 I&#8217;m assuming that you&#8217;ve already configured the SCOM agent on the Linux server.\u00a0 So it&#8217;s time to verify the SCOM and OMSAgent is configured and working.\u00a0 Let&#8217;s go back to the <a href=\"https:\/\/docs.microsoft.com\/en-us\/system-center\/scom\/manage-linux-logfiles?view=sc-om-2019#configure-linux-log-file-monitoring\" target=\"_blank\" rel=\"noopener noreferrer\">docs<\/a> subsection for our sanity check, because we need to create folders, and set ownership, etc.<\/p>\n<p>&nbsp;<\/p>\n<h5>Create files and set permissions<\/h5>\n<div><span style=\"color: #0000ff;\">mkdir \/etc\/opt\/microsoft\/omsagent\/scom\/conf\/omsagent.d<\/span><\/div>\n<div><span style=\"color: #0000ff;\">mkdir \/etc\/opt\/microsoft\/omsagent\/scom\/certs<\/span><\/div>\n<div><span style=\"color: #0000ff;\">mkdir \/var\/opt\/microsoft\/omsagent\/scom\/log<\/span><\/div>\n<div><span style=\"color: #0000ff;\">mkdir \/var\/opt\/microsoft\/omsagent\/scom\/run<\/span><\/div>\n<div><span style=\"color: #0000ff;\">mkdir \/var\/opt\/microsoft\/omsagent\/scom\/state<\/span><\/div>\n<div><span style=\"color: #0000ff;\">mkdir \/var\/opt\/microsoft\/omsagent\/scom\/tmp<\/span><\/div>\n<div><span style=\"color: #0000ff;\">mkdir \/home\/omsagent\/fluent-logging<\/span><\/div>\n<div style=\"padding-left: 40px;\"><span style=\"color: #ff0000;\"># NOTE &#8211; This location is flexible for the path to use for log file position files<\/span><\/div>\n<div><span style=\"color: #0000ff;\">chown omsagent:omiusers state<\/span><\/div>\n<div><span style=\"color: #0000ff;\">chown omsagent:omiusers run<\/span><\/div>\n<div>\n<div><span style=\"color: #0000ff;\">chown omsagent:omiusers log<\/span><\/div>\n<div><span style=\"color: #0000ff;\">chown omsagent:omiusers tmp<\/span><\/div>\n<div><span style=\"color: #0000ff;\">chown omsagent:omiusers \/home\/omsagent\/fluent-logging<\/span><\/div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<h2><\/h2>\n<h2>Verify SCOM certificate<\/h2>\n<p>Configuring FluentD requires the SCOM management server (MS) has signed the certificate on the UNIX server.\u00a0 The <a href=\"https:\/\/docs.microsoft.com\/en-us\/system-center\/scom\/manage-linux-logfiles?view=sc-om-2019#generate-new-client-certificate-for-fluentd\" target=\"_blank\" rel=\"noopener noreferrer\">docs article<\/a> tells you to generate a new certificate for FluentD, which requires the management server.<\/p>\n<h5>Overview<\/h5>\n<p>Sign the certs on the agent &gt; copy to MS &gt; sign &gt; copy back to agent<\/p>\n<h5><\/h5>\n<h5>Step by step instructions<\/h5>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Generate certs<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"color: #0000ff;\">\/opt\/microsoft\/scx\/bin\/tools\/scxsslconfig -c -g \/etc\/opt\/microsoft\/omsagent\/scom\/certs\/<\/span><\/p>\n<p>2. Rename certificates<\/p>\n<p><span style=\"color: #0000ff;\">cp -p omi-host-server.domain.pem to scom-cert.pem<\/span><\/p>\n<p><span style=\"color: #0000ff;\">cp -p omikey.pem to scom-key.pem<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>3. Copy certs to MS (sftp\/ssh via WinSCP, or your app of choice)<\/p>\n<p>&nbsp;<\/p>\n<p>4. Sign certs on MS via <span style=\"color: #0000ff;\">scxcertconfig -sign<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>Open PowerShell (as admin)<\/p>\n<p>Go to your SCOM management server directory (hopefully d:)<\/p>\n<p><span style=\"color: #0000ff;\">cd &#8216;D:\\Program Files\\Microsoft System Center\\Operations Manager\\Server&#8217;<\/span><\/p>\n<p><span style=\"color: #0000ff;\">scxcertconfig -sign scom-cert.pem<\/span><\/p>\n<p><span style=\"color: #0000ff;\">scxcertconfig -sign scom-key.pem<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>5. Copy certs back to agent from MS (sftp\/ssh via WinSCP, or your app of choice)<\/p>\n<p>&nbsp;<\/p>\n<p>6. Verify the SCOM certificate shows your Management Server (MS) in the DC= line in the certificate<\/p>\n<p><span style=\"color: #0000ff;\">openssl x509 -in scom-cert.pem -noout -text<\/span><\/p>\n<div id=\"edit-filelist\" class=\"dispfile dispfileContainer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/UNIX-openssl-cert.png\" alt=\"Verify SSL certificate - openssl syntax, verify the DC= portion is from the SCOM management server (MS)\" width=\"775\" height=\"865\" \/><\/div>\n<p>&nbsp;<\/p>\n<p>7. Restart omsagent<\/p>\n<p>As the ALLINONE server is one of my 2019 SCOM labs, I can verify that my cert is now signed by the management server (MS).\u00a0 Time to load the certificate, and then restart the agent to see if we have any errors<\/p>\n<p># Restart Agent<\/p>\n<p><span style=\"color: #0000ff;\">\/opt\/microsoft\/omsagent\/bin\/service_control restart<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Verify omsagent.log errors<\/h2>\n<p>Verify any errors from the omsagent.log<\/p>\n<p style=\"padding-left: 40px;\">Depending on where you are with your UNIX\/Linux commands, this may help provide some context or use case examples.<\/p>\n<p style=\"padding-left: 40px;\">My example &#8211;<\/p>\n<p style=\"padding-left: 40px;\">First error after restart was &#8216;permission denied&#8217;. \u00a0 FluentD runs under the omsagent ID, and needs to have access to whatever log &#8211; at least read (4).\u00a0 For the syslog example, I made omsagent the owner, and omiusers the group. \u00a0 The smarter, security hat on, choice is to leave as root and make it read capable, or add omsagent to the root group<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/permissiondenied.png\" alt=\"Configure FluentD part 2 - fluentd permission denied alerts on \/var\/log\/syslog\" width=\"875\" height=\"194\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Search <span style=\"color: #0000ff;\">\/var\/opt\/microsoft\/omsagent\/scom\/log\/omsagent.log<\/span> for errors.\u00a0 Commands build on another, from simpler to more complex.\u00a0 Don&#8217;t worry if UNIX\/Linux is new, I&#8217;m all about examples, so hope that helps bridge the gap!<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\"># Tail omsagent.log for progress<\/p>\n<p style=\"padding-left: 40px;\"># Option 1 Continual output updates from file<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">tail -f \/var\/opt\/microsoft\/omsagent\/scom\/log\/omsagent.log<\/span><\/p>\n<p style=\"padding-left: 40px;\"># Option 2 &#8211; get last 10 lines<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">tail \/var\/opt\/microsoft\/omsagent\/scom\/log\/omsagent.log<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\"># Option 3 &#8211; get last 100 lines<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">tail -100 \/var\/opt\/microsoft\/omsagent\/scom\/log\/omsagent.log<\/span><\/p>\n<p style=\"padding-left: 40px;\"># Option 4 &#8211; Get a little fancier &#8211; search for a string<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">grep string \/var\/opt\/microsoft\/omsagent\/scom\/log\/omsagent.log<\/span><\/p>\n<p style=\"padding-left: 40px;\"># Option 5 &#8211; Specific example = error, case insensitive (-i)<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">grep -i error \/var\/opt\/microsoft\/omsagent\/scom\/log\/omsagent.log<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\"># Option 6 &#8211; egrep strings and -v to exclude what you don&#8217;t want to see<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">grep -i error \/var\/opt\/Microsoft\/omsagent\/scom\/log\/omsagent.log |egrep -v &#8220;Permission denied|stacktrace&#8221;<\/span><\/p>\n<h2><\/h2>\n<p>&nbsp;<\/p>\n<h2>Verify FluentD config files<\/h2>\n<p>Verify FluentD conf files and omsagent.conf has INCLUDE line<\/p>\n<p style=\"padding-left: 40px;\">The INCLUDE lines allows a directory for a &#8216;Gold depot&#8217; to control what log files are monitored on destination linux servers.\u00a0 The goal is a standard repository (gold depot ) to simply copy the conf file you want for logfile\/app\/daemon, restart agent, and you&#8217;re off to the races monitoring that log file.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\"><strong>Verify omsagent.conf includes directory<\/strong><\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">grep -i include \/etc\/opt\/Microsoft\/omsagent\/scom\/conf\/omsagent.conf<\/span><\/p>\n<p style=\"padding-left: 40px;\"># If there&#8217;s output, make sure that omsagent.d path exists<\/p>\n<p style=\"padding-left: 40px;\"># Verify permissions show omsagent:omiusers<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">ls -al \/etc\/opt\/Microsoft\/omsagent\/scom\/conf | grep omsagent<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>10. Back to step 8&#8217;s problem, to fix the FluentD conf files, so we can test!\u00a0 Step 9 verified that FluentD is configured via the omsagent.conf, and also for specific configuration files (.conf) in omsagent.d directory.<\/p>\n<p style=\"padding-left: 40px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/OMSAgent-FluentD-conf-files.png\" alt=\"ls -al output list of the omsagent.d directory and oms config specific files for various log files\" width=\"566\" height=\"143\" \/><\/p>\n<p style=\"padding-left: 40px;\">Next, we need to restart the agent to verify configuration, and any errors are seen on the FluentD side.<\/p>\n<p style=\"padding-left: 40px;\">My error for &#8216;out_scom&#8217; plugin was already used by some other test conf files.<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">grep -i error \/var\/opt\/Microsoft\/omsagent\/scom\/log\/omsagent.log |grep &#8220;Permission denied&#8221; |tail<\/span><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">Example of omsagent.log where we have traced an event for our mylog<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/permissiondenied.png\" alt=\"OMSAgent FluentD debunked - omsagent.log permission denied opening logfile errors for \/var\/log\/syslog\" width=\"875\" height=\"194\" \/><\/p>\n<p style=\"padding-left: 40px;\">Mike explained that my error was due to having multiple FluentD conf files using the same buffer path for &#8216;out_scom&#8217;.\u00a0 I searched the conf files to see who had &#8216;out_scom&#8217; and removed one of my old test files from months back when I was testing the feature.<\/p>\n<p style=\"padding-left: 40px;\"># Example of errors in the omsagent.log<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/OMSAgent-Log.png\" alt=\"Tail of the omsagent.log where we want to look for errors\" width=\"1155\" height=\"561\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 40px;\">Don&#8217;t forget to restart the omsagent for reading in the new file changes<\/p>\n<p style=\"padding-left: 40px;\"># Restart Agent<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">\/opt\/microsoft\/omsagent\/bin\/service_control restart<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>I&#8217;ll cover building a fluentd conf file in another blog post for brevity.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Time to test for alerts!<\/h2>\n<p>Time to test our FluentD conf file and append entries into the log file!<\/p>\n<p>Starting simple again<\/p>\n<p style=\"padding-left: 40px;\"># Options<\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">echo test &gt;&gt; \/var\/log\/mylog<\/span><\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">echo 911 error &gt;&gt; \/var\/log\/mylog<\/span><\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #000000;\"># Echo entries into test logfile to mimic syslog or messages<\/span><\/p>\n<p style=\"padding-left: 40px;\"><span style=\"color: #0000ff;\">echo `date +&#8221;%b %e %H:%M:%S&#8221;` MYLOG 911 test string. Call 911<\/span><\/p>\n<p># Verify<\/p>\n<p><span style=\"color: #0000ff;\">tail \/var\/log\/mylog<\/span><\/p>\n<p>Switch over to SCOM management server, and look for alerts<\/p>\n<p>Navigate to the Monitoring Tab &gt; Active alerts<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/OMED-SCOM-Alerts.png\" alt=\"OMSAgent FluentD debunked - scom console alerts for fluentd test patterns\" width=\"1095\" height=\"581\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>References for more information<\/strong><\/p>\n<p>In case you need a refresher on all the date options\u2026 Found <a href=\"https:\/\/www.cyberciti.biz\/faq\/linux-unix-formatting-dates-for-display\/\" target=\"_blank\" rel=\"noopener noreferrer\">CyberCiti FAQ<\/a> helpful<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/test-date.png\" alt=\"Configure FluentD part 2 - output of the date command formatting like syslog or messages\" width=\"354\" height=\"34\" \/><\/p>\n<p>All because the goal is to make the echo statement better for testing closer test\/UAT examples on string matches, etc.<\/p>\n<p><span style=\"color: #0000ff;\">echo `date +&#8221;%b %e %H:%M:%S&#8221;` MYLOG 911 test string. Call 911<\/span><\/p>\n<p>And what does it look like?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/mylog-Date-tail.png\" alt=\"OMSAgent FluentD debunked - tail of created \/var\/log\/mylog that shows various echo options\" width=\"816\" height=\"111\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now to begin &#8211; OMSAgent FluentD debunked Configure Linux FluentD &#8211; part2 &#8211;&gt; see part one (1) here) &nbsp; &nbsp; First, my thanks to Mike Johnston@Microsoft (CSS SEE SME) to help validate my steps and testing, to configure Linux FluentD on an Ubuntu server!\u00a0 Are you ready to bust a myth &#8211; OMSAgent FluentD debunked &hellip; <a href=\"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;OMSAgent FluentD debunked &#8211; Configure Linux FluentD &#8211; part2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,5,12],"tags":[514,513,517,206,223,240,244,247,519,342,364,505,392,432,435,518,461],"class_list":["post-6677","post","type-post","status-publish","format-standard","hentry","category-administration","category-best-practice","category-unix","tag-514","tag-configure-linux-fluentd","tag-fluentd","tag-linux","tag-management-pack","tag-monitor","tag-mp-authoring","tag-mp-fragments","tag-omsagent-fluentd-debunked","tag-scom","tag-scom2016","tag-scom2019","tag-shell-command","tag-system-center","tag-system-center-operations-manager","tag-test-fluentd","tag-unix"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>OMSAgent FluentD debunked - Configure Linux FluentD - part2 OMSAgent FluentD debunked Configure Linux FluentD - part2- Kevin Justin&#039;s Blog kevinjustin.com<\/title>\n<meta name=\"description\" content=\"OMSAgent FluentD debunked - Time to debunk a myth on FluentD on the Linux server. Configure SCOM management server, and test log file monitoring\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"OMSAgent FluentD debunked - Configure Linux FluentD - part2 OMSAgent FluentD debunked Configure Linux FluentD - part2- Kevin Justin&#039;s Blog kevinjustin.com\" \/>\n<meta property=\"og:description\" content=\"OMSAgent FluentD debunked - Time to debunk a myth on FluentD on the Linux server. Configure SCOM management server, and test log file monitoring\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/\" \/>\n<meta property=\"og:site_name\" content=\"Kevin Justin&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-20T20:12:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-04-21T20:58:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/Stoked.jpg\" \/>\n<meta name=\"author\" content=\"WordPress Administrator\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"WordPress Administrator\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/\"},\"author\":{\"name\":\"WordPress Administrator\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\"},\"headline\":\"OMSAgent FluentD debunked &#8211; Configure Linux FluentD &#8211; part2\",\"datePublished\":\"2020-04-20T20:12:42+00:00\",\"dateModified\":\"2020-04-21T20:58:13+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/\"},\"wordCount\":1459,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/Stoked.jpg\",\"keywords\":[\"2016\",\"Configure Linux FluentD\",\"fluentd\",\"linux\",\"management pack\",\"monitor\",\"mp authoring\",\"mp fragments\",\"OMSAgent FluentD debunked\",\"SCOM\",\"scom2016\",\"scom2019\",\"shell command\",\"System Center\",\"system center operations manager\",\"test fluentd\",\"unix\"],\"articleSection\":[\"Administration\",\"Best Practice\",\"UNIX\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/\",\"name\":\"OMSAgent FluentD debunked - Configure Linux FluentD - part2 OMSAgent FluentD debunked Configure Linux FluentD - part2- Kevin Justin&#039;s Blog kevinjustin.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/Stoked.jpg\",\"datePublished\":\"2020-04-20T20:12:42+00:00\",\"dateModified\":\"2020-04-21T20:58:13+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\"},\"description\":\"OMSAgent FluentD debunked - Time to debunk a myth on FluentD on the Linux server. Configure SCOM management server, and test log file monitoring\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/#primaryimage\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/Stoked.jpg\",\"contentUrl\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/Stoked.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/2020\\\/04\\\/20\\\/omsagent-fluentd-debunked\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OMSAgent FluentD debunked &#8211; Configure Linux FluentD &#8211; part2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/\",\"name\":\"Kevin Justin&#039;s Blog\",\"description\":\"Operational monitoring tools including System Center, Azure Monitor\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/#\\\/schema\\\/person\\\/3d7a90f4430bef43134eaa0a7e2cd508\",\"name\":\"WordPress Administrator\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g\",\"caption\":\"WordPress Administrator\"},\"sameAs\":[\"https:\\\/\\\/kevinjustin.com\"],\"url\":\"https:\\\/\\\/kevinjustin.com\\\/blog\\\/author\\\/wordpress_admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"OMSAgent FluentD debunked - Configure Linux FluentD - part2 OMSAgent FluentD debunked Configure Linux FluentD - part2- Kevin Justin&#039;s Blog kevinjustin.com","description":"OMSAgent FluentD debunked - Time to debunk a myth on FluentD on the Linux server. Configure SCOM management server, and test log file monitoring","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:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/","og_locale":"en_US","og_type":"article","og_title":"OMSAgent FluentD debunked - Configure Linux FluentD - part2 OMSAgent FluentD debunked Configure Linux FluentD - part2- Kevin Justin&#039;s Blog kevinjustin.com","og_description":"OMSAgent FluentD debunked - Time to debunk a myth on FluentD on the Linux server. Configure SCOM management server, and test log file monitoring","og_url":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/","og_site_name":"Kevin Justin&#039;s Blog","article_published_time":"2020-04-20T20:12:42+00:00","article_modified_time":"2020-04-21T20:58:13+00:00","og_image":[{"url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/Stoked.jpg","type":"","width":"","height":""}],"author":"WordPress Administrator","twitter_card":"summary_large_image","twitter_misc":{"Written by":"WordPress Administrator","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/#article","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/"},"author":{"name":"WordPress Administrator","@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508"},"headline":"OMSAgent FluentD debunked &#8211; Configure Linux FluentD &#8211; part2","datePublished":"2020-04-20T20:12:42+00:00","dateModified":"2020-04-21T20:58:13+00:00","mainEntityOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/"},"wordCount":1459,"commentCount":0,"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/Stoked.jpg","keywords":["2016","Configure Linux FluentD","fluentd","linux","management pack","monitor","mp authoring","mp fragments","OMSAgent FluentD debunked","SCOM","scom2016","scom2019","shell command","System Center","system center operations manager","test fluentd","unix"],"articleSection":["Administration","Best Practice","UNIX"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/","url":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/","name":"OMSAgent FluentD debunked - Configure Linux FluentD - part2 OMSAgent FluentD debunked Configure Linux FluentD - part2- Kevin Justin&#039;s Blog kevinjustin.com","isPartOf":{"@id":"https:\/\/kevinjustin.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/#primaryimage"},"image":{"@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/#primaryimage"},"thumbnailUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/Stoked.jpg","datePublished":"2020-04-20T20:12:42+00:00","dateModified":"2020-04-21T20:58:13+00:00","author":{"@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508"},"description":"OMSAgent FluentD debunked - Time to debunk a myth on FluentD on the Linux server. Configure SCOM management server, and test log file monitoring","breadcrumb":{"@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/#primaryimage","url":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/Stoked.jpg","contentUrl":"https:\/\/kevinjustin.com\/blog\/wp-content\/uploads\/2020\/04\/Stoked.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/kevinjustin.com\/blog\/2020\/04\/20\/omsagent-fluentd-debunked\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kevinjustin.com\/blog\/"},{"@type":"ListItem","position":2,"name":"OMSAgent FluentD debunked &#8211; Configure Linux FluentD &#8211; part2"}]},{"@type":"WebSite","@id":"https:\/\/kevinjustin.com\/blog\/#website","url":"https:\/\/kevinjustin.com\/blog\/","name":"Kevin Justin&#039;s Blog","description":"Operational monitoring tools including System Center, Azure Monitor","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kevinjustin.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/kevinjustin.com\/blog\/#\/schema\/person\/3d7a90f4430bef43134eaa0a7e2cd508","name":"WordPress Administrator","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fca865cc5df90a25ae9533b1d9dea567a78c7469dc3202a376c8d117a0eaea11?s=96&d=mm&r=g","caption":"WordPress Administrator"},"sameAs":["https:\/\/kevinjustin.com"],"url":"https:\/\/kevinjustin.com\/blog\/author\/wordpress_admin\/"}]}},"_links":{"self":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/6677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/comments?post=6677"}],"version-history":[{"count":50,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/6677\/revisions"}],"predecessor-version":[{"id":6738,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/posts\/6677\/revisions\/6738"}],"wp:attachment":[{"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/media?parent=6677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/categories?post=6677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kevinjustin.com\/blog\/wp-json\/wp\/v2\/tags?post=6677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}