{"id":769,"date":"2016-10-10T17:08:36","date_gmt":"2016-10-10T15:08:36","guid":{"rendered":"http:\/\/www.rocworks.at\/wordpress\/?p=769"},"modified":"2016-10-10T18:12:32","modified_gmt":"2016-10-10T16:12:32","slug":"observing-wincc-oa-logs-with-elasticsearch-and-logstash","status":"publish","type":"post","link":"https:\/\/www.rocworks.at\/wordpress\/?p=769","title":{"rendered":"Observing WinCC OA Logs with Elasticsearch and Logstash&#8230;"},"content":{"rendered":"<p>With Logstash we can collect the logs of WinCC OA systems and write it to Elasticsearch. Multiple\u00a0WinCC OA system&#8217;s can be observed with a central\u00a0log database&#8230;<\/p>\n<p>With Kibana\u00a0the logs can be easily discovered &#8211; I now see errors what i haven&#8217;t seen before in my system&#8230;<\/p>\n<p>In parallel the log messages are written to Apache Kafka. With Apache Spark we can now observe the log streams and detect anomalies&#8230; a very simple observation could\u00a0be to just simple count the amount of log messages per timeframe &#8230;<\/p>\n<p><a href=\"http:\/\/www.rocworks.at\/wordpress\/?attachment_id=770\" rel=\"attachment wp-att-770\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-770\" src=\"http:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/10\/Logstash.png\" alt=\"logstash\" width=\"1281\" height=\"777\" srcset=\"https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/10\/Logstash.png 1281w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/10\/Logstash-300x182.png 300w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/10\/Logstash-768x466.png 768w, https:\/\/www.rocworks.at\/wordpress\/wp-content\/uploads\/2016\/10\/Logstash-1024x621.png 1024w\" sizes=\"auto, (max-width: 1281px) 100vw, 1281px\" \/><\/a><\/p>\n<p>WinCC OA logstash configuration file:\u00a0<a href=\"http:\/\/www.rocworks.at\/wordpress\/?attachment_id=771\" rel=\"attachment wp-att-771\">winccoa-logstash-conf<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With Logstash we can collect the logs of WinCC OA systems and write it to Elasticsearch. Multiple\u00a0WinCC OA system&#8217;s can be observed with a central\u00a0log database&#8230; With Kibana\u00a0the logs can be easily discovered &#8211; I now see errors what i &hellip; <a href=\"https:\/\/www.rocworks.at\/wordpress\/?p=769\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,29,3],"tags":[],"class_list":["post-769","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-bigdatanosql","category-wincc-oa"],"_links":{"self":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=769"}],"version-history":[{"count":2,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/769\/revisions"}],"predecessor-version":[{"id":773,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/769\/revisions\/773"}],"wp:attachment":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}