{"id":35944,"date":"2019-10-31T22:07:54","date_gmt":"2019-10-31T19:07:54","guid":{"rendered":"https:\/\/prohoster.info\/blog\/vector-0-3-0\/"},"modified":"2019-10-31T22:07:54","modified_gmt":"2019-10-31T19:07:54","slug":"vector-0-3-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sk\/blog\/news\/vector-0-3-0","title":{"rendered":"Vector 0.3.0","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/images\/18630\/original.png\" itemprop=\"contentURL\"><\/p>\n<p>    <\/a><\/p>\n<p>Tento t\u00fd\u017ede\u0148 bola vydan\u00e1 verzia 0.3.0 vo\u013enej utilitky Vector, ktor\u00e1 sl\u00fa\u017ei na zbieranie, transform\u00e1ciu a uchovanie \u00fadajov z logov, metr\u00edk a udalost\u00ed.<\/p>\n<p>Nap\u00edsan\u00fd v jazyku Rust, sa vyzna\u010duje vysok\u00fdm v\u00fdkonom a n\u00edzkou spotrebou pam\u00e4te v porovnan\u00ed s alternat\u00edvami. Okrem toho sa ve\u013ek\u00e1 pozornos\u0165 venuje funkci\u00e1m s\u00favisiacim s korektnos\u0165ou, najm\u00e4 mo\u017enos\u0165om uchov\u00e1vania neodoslan\u00fdch udalost\u00ed v pam\u00e4ti na disku a rot\u00e1cii s\u00faborov.<\/p>\n<p>Architektonicky je Vector routerom udalost\u00ed, ktor\u00fd prij\u00edma spr\u00e1vy z jedn\u00e9ho alebo viacer\u00fdch <em>zdrojov<\/em>, volite\u013ene aplikuj\u00fac nad t\u00fdmito spr\u00e1vami <em>transform\u00e1cie<\/em>, a odosielaj\u00fac ich do jedn\u00e9ho alebo viacer\u00fdch <em>v\u00fdstupov<\/em>.<\/p>\n<p>Boli implementovan\u00e9 nasleduj\u00face<\/p>\n<h4>Zdroje<\/h4>\n<ul>\n<li>file \u2014 nepretr\u017eit\u00e9 \u010d\u00edtanie udalost\u00ed z jedn\u00e9ho alebo viacer\u00fdch lok\u00e1lnych s\u00faborov;<\/li>\n<li>statsd \u2014 nepretr\u017eit\u00e9 prij\u00edmanie udalost\u00ed prostredn\u00edctvom protokolu StatsD cez UDP;<\/li>\n<li>stdin \u2014 nepretr\u017eit\u00e9 \u010d\u00edtanie udalost\u00ed zo \u0161tandardn\u00e9ho vstupn\u00e9ho pr\u00fadu;<\/li>\n<li>syslog \u2014 nepretr\u017eit\u00e9 prij\u00edmanie udalost\u00ed prostredn\u00edctvom protokolu Syslog 5424;<\/li>\n<li>tcp \u2014 nepretr\u017eit\u00e9 \u010d\u00edtanie udalost\u00ed z TCP soketu;<\/li>\n<li>vector \u2014 prij\u00edmanie udalost\u00ed z in\u0161tancie Vector.<\/li>\n<\/ul>\n<h4>Transform\u00e1cie<\/h4>\n<ul>\n<li>add_fields \u2014 pridanie dodato\u010dn\u00fdch pol\u00ed do udalost\u00ed;<\/li>\n<li>field_filter \u2014 filtrovanie udalosti pod\u013ea hodnoty po\u013ea;<\/li>\n<li>grok_parser \u2014 rozbor hodn\u00f4t pol\u00ed vo form\u00e1te Grok;<\/li>\n<li>json_parser \u2014 rozbor hodn\u00f4t pol\u00ed vo form\u00e1te JSON;<\/li>\n<li>lua \u2014 transform\u00e1cia udalost\u00ed pomocou skriptov v Lua;<\/li>\n<li>regex_parser \u2014 transform\u00e1cia hodn\u00f4t pol\u00ed pomocou regul\u00e1rnych v\u00fdrazov;<\/li>\n<li>remove_fields \u2014 odstr\u00e1nenie pol\u00ed z udalost\u00ed;<\/li>\n<li>tokenizer \u2014 rozdelenie hodn\u00f4t pol\u00ed na tokeny.<\/li>\n<\/ul>\n<h4>Potoky<\/h4>\n<ul>\n<li>aws_cloudwatch_logs \u2014 odosielanie logov do AWS CloudWatch;<\/li>\n<li>aws_kinesis_streams \u2014 odosielanie udalost\u00ed do AWS Kinesis;<\/li>\n<li>aws_s3 \u2014 odosielanie udalost\u00ed d\u00e1vkami do AWS S3;<\/li>\n<li>blackhole \u2014 zni\u010denie udalost\u00ed, ur\u010den\u00e9 na testovanie;<\/li>\n<li>console \u2014 odosielanie udalost\u00ed na \u0161tandardn\u00fd v\u00fdstup alebo na \u0161tandardn\u00fd chybov\u00fd v\u00fdstup;<\/li>\n<li>elasticsearch \u2014 odosielanie udalost\u00ed do ElasticSearch;<\/li>\n<li>http \u2014 odosielanie udalost\u00ed na \u013eubovo\u013en\u00fd HTTP URL;<\/li>\n<li>kafka \u2014 odosielanie udalost\u00ed do Kafka;<\/li>\n<li>splunk_hec \u2014 odosielanie udalost\u00ed do Splunk HTTP Collector;<\/li>\n<li>tcp \u2014 odosielanie udalost\u00ed do TCP soketu;<\/li>\n<li>vector \u2014 odosielanie udalost\u00ed do in\u00e9ho in\u0161tancie Vector.<\/li>\n<\/ul>\n<p>Vo verzii 0.3.0 bola pridan\u00e1 podpora pre Lua, Grok, regul\u00e1rne v\u00fdrazy a tokenizer.<\/p>\n<p>Zdroj: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"http:\/\/www.linux.org.ru\/news\/opensource\/15093835\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0432\u044b\u0448\u043b\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 0.3.0 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b Vector, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043b\u043e\u0433\u043e\u0432, \u043c\u0435\u0442\u0440\u0438\u043a \u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u0439. \u0411\u0443\u0434\u0443\u0447\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0439 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust, \u043e\u043d\u0430 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0441\u043e\u043a\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e \u0438 \u043d\u0438\u0437\u043a\u0438\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u0435\u043d\u0438\u0435\u043c \u043e\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u0430\u043d\u0430\u043b\u043e\u0433\u0430\u043c\u0438. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0443\u0434\u0435\u043b\u0435\u043d\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c \u0441 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0441\u0442\u044c\u044e, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043d\u0435\u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0432 \u0431\u0443\u0444\u0435\u0440 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-35944","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0432\u044b\u0448\u043b\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 0.3.0 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b Vector, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sk\/blog\/news\/vector-0-3-0\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5\" \/>\n\t\t<meta property=\"og:locale\" content=\"sk_SK\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Vector 0.3.0 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0432\u044b\u0448\u043b\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 0.3.0 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b Vector, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sk\/blog\/news\/vector-0-3-0\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:07:54+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:07:54+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Vector 0.3.0 | ProHoster","description":"Tento t\u00fd\u017ede\u0148 bola vydan\u00e1 verzia 0.3.0 vo\u013enej utilitky Vector, ktor\u00e1 sl\u00fa\u017ei na zbieranie, transform\u00e1ciu a.","canonical_url":"https:\/\/prohoster.info\/sk\/blog\/news\/vector-0-3-0","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sk_SK","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Vector 0.3.0 | ProHoster","og:description":"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0432\u044b\u0448\u043b\u0430 \u0432\u0435\u0440\u0441\u0438\u044f 0.3.0 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b Vector, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u043e\u0439 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u0430, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438.","og:url":"https:\/\/prohoster.info\/sk\/blog\/news\/vector-0-3-0","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:07:54+00:00","article:modified_time":"2019-10-31T19:07:54+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"35944","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-22 01:22:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:53:31","updated":"2026-01-22 01:22:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/posts\/35944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/comments?post=35944"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/posts\/35944\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/media?parent=35944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/categories?post=35944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sk\/wp-json\/wp\/v2\/tags?post=35944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}