{"id":41273,"date":"2021-03-09T10:00:35","date_gmt":"2021-03-09T01:00:35","guid":{"rendered":"https:\/\/www.creationline.com\/?p=41273"},"modified":"2021-07-08T22:21:08","modified_gmt":"2021-07-08T13:21:08","slug":"filebeat-modules%e3%81%a8logstash%e3%81%ae%e7%b5%84%e3%81%bf%e5%90%88%e3%82%8f%e3%81%9b%e6%96%b9-elastic-elasticsearch","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273","title":{"rendered":"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch"},"content":{"rendered":"<p>Elastic Stack\u3092\u4f7f\u3063\u3066\u65e5\u9803\u304b\u3089\u69d8\u3005\u306a\u30ed\u30b0\u3092\u89e3\u6790\u3057\u3066\u3044\u308b\u3068Filebeat\u306b\u983c\u308b\u3053\u3068\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001Filebeat Modules\u3092\u5229\u7528\u3057\u3066\u3001GSuite\u3084Zoom\u3001O365\u306a\u3069\u306e\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3\u30b9\u306e\u30ed\u30b0\u3092\u53ce\u96c6\u3057<br \/>\n\u6d3b\u7528\u3057\u3066\u3044\u304f\u4e0a\u3067\u3075\u3068\u7591\u554f\u306b\u611f\u3058\u305f\u3053\u3068\u306b\u3064\u3044\u3066\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<h2>Filebeat Modules\u3068\u306f<\/h2>\n<hr \/>\n<p>2017\u5e743\u670828\u65e5\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u30d0\u30fc\u30b8\u30e7\u30f35.3\u4ee5\u964d\u3067\u767b\u5834\u3057\u305f\u6a5f\u80fd\u3067\u3059\u3002<br \/>\nFilebeat Modules\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u308b\u30ed\u30b0\u306e\u53ce\u96c6\u3001\u52a0\u5de5\u3001\u53ef\u8996\u5316\u3092\u81ea\u52d5\u7684\u306b\u51e6\u7406\u3057\u3066\u304f\u308c\u307e\u3059\u3002<br \/>\nFilebeat Modules\u304c\u53ce\u96c6\u3057\u305f\u30ed\u30b0\u3092Elasticsearch\u306eingest\u6a5f\u80fd\u3067\u52a0\u5de5\u3057\u3066Index\u306b\u683c\u7d0d\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" width=\"700\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/c5417b5c-efab-5f37-8999-118535f82810.png\"><\/p>\n<p>ingest\u306e\u8a2d\u5b9a\u306fKibana\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" width=\"1000\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/f24fa02e-3e93-c551-3468-025b29ecf2b2.png\"><\/p>\n<p>\u73fe\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306e7.11\u3067\u306f\u5168\u90e8\u306765\u7a2e\u985e\u306eModules\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u5168\u90e8\u306eModule\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001Kibana\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3082\u4ed8\u5c5e\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u3010\u53c2\u8003\u3011<\/strong><br \/>\n\u30fb <a href=\"https:\/\/www.elastic.co\/guide\/en\/beats\/filebeat\/7.11\/filebeat-modules.html\" title=\"Filebeat modules\">Filebeat modules<\/a><\/p>\n<h2>\u4eca\u56de\u5b9f\u65bd\u3057\u305f\u3053\u3068<\/h2>\n<hr \/>\n<p><strong>Auditd Modules<\/strong><sup id=\"fnref-41273:1\"><a href=\"1\" rel=\"footnote\">1<\/a><\/sup>\u3092\u5229\u7528\u3057\u3066\u3001Linux OS\u306e\u76e3\u67fb\u30ed\u30b0\u3092Elasticsearch\u306b\u53d6\u308a\u8fbc\u307f\u307e\u3059\u3002<br \/>\n\u540c\u6642\u306b\u540c\u3058\u30ed\u30b0\u3092\u9577\u671f\u4fdd\u7ba1\u76ee\u7684\u3067<strong>Google Cloud Storage<\/strong>(\u4ee5\u964d\u3001GCS)<sup id=\"fnref-41273:2\"><a href=\"2\" rel=\"footnote\">2<\/a><\/sup>\u306b\u3082\u683c\u7d0d\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001Filebeat\u306e\u51fa\u529b\u5148\u306b\u306f\u3001\u4ee5\u4e0b\u306e7\u3064\u3057\u304b\u5229\u7528\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n\u307e\u305f\u3001\u73fe\u884c\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u306f\u8907\u6570\u306e\u51fa\u529b\u5148\u306b\u51fa\u3059\u3053\u3068\u3082\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<ul>\n<li>Elasticsearch Service<\/li>\n<li>Elasticsearch<\/li>\n<li>Logstash<\/li>\n<li>Kafka<\/li>\n<li>Redis<\/li>\n<li>File (Local)<\/li>\n<li>Console (Local)<\/li>\n<\/ul>\n<p>\u8907\u6570\u306e\u51fa\u529b\u5148\u306b\u540c\u6642\u306b\u30ed\u30b0\u51fa\u529b\u3057\u305f\u308a\u3001\u4e0a\u8a18\u306b\u306a\u3044\u51fa\u529b\u5148\u306b\u30ed\u30b0\u3092\u51fa\u3057\u305f\u3044\u5834\u5408\u306f<br \/>\nFilebeat\u3068Elasticsearch\u306e\u9593\u306b<strong>Logstash<\/strong><sup id=\"fnref-41273:3\"><a href=\"3\" rel=\"footnote\">3<\/a><\/sup>\u3092\u631f\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001Filebeat Modules\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u52a0\u5de5\u51e6\u7406\u306fElasticsearch\u306eingest\u6a5f\u80fd\u304c\u304a\u3053\u306a\u3044\u307e\u3059\u3002<br \/>\nModules\u5229\u7528\u6642\u306bLogstash\u3092\u631f\u3093\u3067GCS\u306b\u9001\u308b\u3068\u3069\u3046\u306a\u308b\u306e\u304b\u3001\u4eca\u56de\u306f\u305d\u308c\u3092\u5b9f\u969b\u306b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f^^<\/p>\n<h2>\u5fc5\u8981\u306a\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3<\/h2>\n<hr \/>\n<ul>\n<li>Filebeat Modules\u306fOSS\u3082\u3057\u304f\u306fBASIC\u3067\u5229\u7528\u3067\u304d\u308b\u305f\u3081<strong>\u5168\u3066\u7121\u511f<\/strong>\u3067\u3059\u3002<\/li>\n<li>\u30b5\u30d6\u30b9\u30af\u30ea\u30d7\u30b7\u30e7\u30f3\u30da\u30fc\u30b8<sup id=\"fnref-41273:4\"><a href=\"4\" rel=\"footnote\">4<\/a><\/sup>\u306e\u8a18\u8f09\u5185\u5bb9\u3068Filebeat Modules\u30da\u30fc\u30b8\u306e\u8a18\u8f09\u5185\u5bb9\u306b\u5c11\u3057\u5dee\u7570\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li>\u4e0b\u8a18\u56f3\u306e<strong>X-Pack<\/strong>\u3068\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u306fBASIC\u3067\u5229\u7528\u3067\u304d\u308bModules\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><strong>\u3010Filebeat Modules\u30da\u30fc\u30b8\u306e\u30b5\u30f3\u30d7\u30eb\u3011<\/strong><br \/>\n<img decoding=\"async\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/b601e2ce-9725-e904-c0cf-fce7000bf8dd.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2021-03-06 17.23.46.png\" \/><\/p>\n<h2>\u5229\u7528\u74b0\u5883<\/h2>\n<hr \/>\n<table>\n<thead>\n<tr>\n<th>\u9805\u76ee<\/th>\n<th>\u5185\u5bb9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Elasticsearch<\/td>\n<td>7.11.1<\/td>\n<\/tr>\n<tr>\n<td>Kibana<\/td>\n<td>7.11.1<\/td>\n<\/tr>\n<tr>\n<td>Logstash<\/td>\n<td>7.11.1<\/td>\n<\/tr>\n<tr>\n<td>Filebeat<\/td>\n<td>7.11.1<\/td>\n<\/tr>\n<tr>\n<td>JDK version<\/td>\n<td>\"11.0.10\" 2021-01-19 LTS<\/td>\n<\/tr>\n<tr>\n<td>VM image<\/td>\n<td>centos-7-v20201112<\/td>\n<\/tr>\n<tr>\n<td>Region<\/td>\n<td>us-central1 (\u30a2\u30a4\u30aa\u30ef)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u203b\u6295\u7a3f\u6642\u70b9\u306b\u304a\u3051\u308b\u6700\u65b0\u7248\u3092\u63a1\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u3010\u69cb\u6210\u56f3\u3011<\/strong><br \/>\n\u30fb Filebeat\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308bLinux OS\u306e\u76e3\u67fb\u30ed\u30b0\u3092Auditd Modules\u3092\u5229\u7528\u3057\u3066\u53d6\u5f97\u3057\u307e\u3059\u3002<br \/>\n\u30fb \u30ed\u30b0\u3092Logstash\u306b\u8ee2\u9001\u3057\u3001\u52a0\u5de5\u305b\u305a\u306bElasticsearch\u3068GCS\u306b\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" width=\"1500\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/0346fc86-6bdb-b4be-cbcd-f1f4c53a5540.png\"><\/p>\n<p><strong>\u3010\u88dc\u8db3\u3011<\/strong><br \/>\n\u30fb GCP\u306eVPC\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306f\u3001default\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30fb \u5404VM\u9593\u306e\u901a\u4fe1\u306f\u5168\u3066\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30fb \u672c\u6295\u7a3f\u3067\u306f\u3001\u5404VM\u30de\u30b7\u30f3\u306e\u4f5c\u6210\u304a\u3088\u3073\u5404OS\u3078\u306eElastic\u30d7\u30ed\u30c0\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u624b\u9806\u306f\u7701\u7565\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30fb Kibana\u304b\u3089Elasticsearch\u306b\u63a5\u7d9a\u3067\u304d\u308b\u8a2d\u5b9a\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u3010\u53c2\u8003\u3011<\/strong><br \/>\n\u30fb<a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/7.10\/rpm.html\" title=\"Elasticsearch\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\">Elasticsearch\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/a><br \/>\n\u30fb<a href=\"https:\/\/www.elastic.co\/guide\/en\/kibana\/7.10\/rpm.html\" title=\"Kibana\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\">Kibana\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/a><br \/>\n\u30fb<a href=\"https:\/\/www.elastic.co\/guide\/en\/logstash\/7.10\/installing-logstash.html\" title=\"Logstash\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\">Logstash\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/a><br \/>\n\u30fb<a href=\"https:\/\/www.elastic.co\/guide\/en\/beats\/filebeat\/7.10\/setup-repositories.html\" title=\"Filebeat\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5\">Filebeat\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u65b9\u6cd5<\/a><\/p>\n<h2>\u5b9f\u65bd\u624b\u9806<\/h2>\n<hr \/>\n<ul>\n<li>\u4e0b\u8a18\u624b\u9806\u3067\u8a2d\u5b9a\u3092\u5b9f\u65bd\u3057\u307e\u3057\u305f\u3002<\/li>\n<\/ul>\n<ol>\n<li>GCS\u306e\u30d0\u30b1\u30c3\u30c8\u4f5c\u6210<\/li>\n<li>\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f5c\u6210<\/li>\n<li>Filebeat\u306e\u8a2d\u5b9a<\/li>\n<li>Auditd Modules\u306e\u5c0e\u5165<\/li>\n<li>Logstash\u306e\u8a2d\u5b9a<\/li>\n<li>Kibana\u3067\u30ed\u30b0\u95b2\u89a7<\/li>\n<li>GCS\u306e\u30ed\u30b0\u95b2\u89a7<\/li>\n<\/ol>\n<h3>1. GCS\u306e\u30d0\u30b1\u30c3\u30c8\u4f5c\u6210<\/h3>\n<ul>\n<li>\u3042\u3048\u3066CLI\u3067\u8a2d\u5b9a\u3092\u4f5c\u3063\u3066\u3044\u304d\u307e\u3059\u3002<\/li>\n<li>GCP\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3001Cloud Shell\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/883b0bfe-4740-2de1-a298-035a8711c673.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2021-03-06 18.14.34.png\" \/><\/p>\n<ul>\n<li>\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001GCS\u306e\u30d0\u30b1\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ gsutil mb -p unique-voyage-xxxxxx -c nearline -l us-central1 -b on gs:\/\/log-bucket-2021\n<\/pre>\n<\/p>\n<ul>\n<li>\u8a2d\u5b9a\u5024\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002GCP\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089GUI\u3067\u8a2d\u5b9a\u3057\u3066\u3082OK\u3067\u3059\u3002<\/li>\n<\/ul>\n<table>\n<thead>\n<tr>\n<th>\u9805\u76ee<\/th>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30d0\u30b1\u30c3\u30c8\u540d<\/td>\n<td>log-bucket-2021<\/td>\n<\/tr>\n<tr>\n<td>\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u30bf\u30a4\u30d7<\/td>\n<td>Region<\/td>\n<\/tr>\n<tr>\n<td>\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3<\/td>\n<td>us-central1 (\u30a2\u30a4\u30aa\u30ef)<\/td>\n<\/tr>\n<tr>\n<td>\u30b9\u30c8\u30ec\u30fc\u30b8\u30af\u30e9\u30b9<\/td>\n<td>Nearline<\/td>\n<\/tr>\n<tr>\n<td>\u30a2\u30af\u30bb\u30b9\u5236\u5fa1<\/td>\n<td>\u5747\u4e00<\/td>\n<\/tr>\n<tr>\n<td>\u6697\u53f7\u5316 (\u30aa\u30d7\u30b7\u30e7\u30f3)<\/td>\n<td>Google\u304c\u7ba1\u7406\u3059\u308b\u9375 (\u30c7\u30d5\u30a9\u30eb\u30c8)<\/td>\n<\/tr>\n<tr>\n<td>\u4fdd\u6301\u30dd\u30ea\u30b7\u30fc (\u30aa\u30d7\u30b7\u30e7\u30f3)<\/td>\n<td>\u672a\u8a2d\u5b9a (\u30c7\u30d5\u30a9\u30eb\u30c8)<\/td>\n<\/tr>\n<tr>\n<td>\u30e9\u30d9\u30eb (\u30aa\u30d7\u30b7\u30e7\u30f3)<\/td>\n<td>\u672a\u8a2d\u5b9a (\u30c7\u30d5\u30a9\u30eb\u30c8)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u3010\u88dc\u8db3\u3011<\/strong><br \/>\n\u30fb \u300cunique-voyage-xxxxxx\u300d\u306f\u3001GCP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u30fb \u30d0\u30b1\u30c3\u30c8\u540d\u306f\u597d\u304d\u306a\u540d\u524d\u3067\u826f\u3044\u3067\u3059\u304c\u3001\u5168\u4e16\u754c\u3067\u4e00\u610f\u3067\u3042\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30fb \u9577\u671f\u4fdd\u7ba1\u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u7528\u9014\u306a\u306e\u3067\u3001Nearline\u3068\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u30fb VM\u3068\u540c\u3058\u30ea\u30fc\u30b8\u30e7\u30f3\u3067\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\u3010\u53c2\u8003\u3011<\/strong><br \/>\n\u30fb<a href=\"https:\/\/cloud.google.com\/storage\/docs\/creating-buckets?hl=ja\" title=\"\u30b9\u30c8\u30ec\u30fc\u30b8\u30d0\u30b1\u30c3\u30c8\u306e\u4f5c\u6210\">\u30b9\u30c8\u30ec\u30fc\u30b8\u30d0\u30b1\u30c3\u30c8\u306e\u4f5c\u6210<\/a><\/p>\n<h3>2. \u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f5c\u6210<\/h3>\n<ul>\n<li>Cloud Shell\u3067\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ gcloud iam service-accounts create for-logstash \\\n    --description=&quot;for_logstash_output&quot; \\\n    --display-name=&quot;for-logstash&quot;\n<\/pre>\n<\/p>\n<ul>\n<li>\u4e0a\u8a18\u3067\u4f5c\u6210\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u5bfe\u3057\u3066\u3001\u30b9\u30c8\u30ec\u30fc\u30b8\u7ba1\u7406\u8005\u6a29\u9650\u3092\u4ed8\u4e0e\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ gcloud projects add-iam-policy-binding unique-voyage-xxxxxx \\\n    --member=&quot;serviceAccount:for-logstash@unique-voyage-xxxxxx.iam.gserviceaccount.com&quot; \\\n    --role=&quot;roles\/storage.objectAdmin&quot;\n<\/pre>\n<\/p>\n<ul>\n<li>\u8a2d\u5b9a\u5024\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002GCP\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089GUI\u3067\u8a2d\u5b9a\u3057\u3066\u3082OK\u3067\u3059\u3002<\/li>\n<\/ul>\n<table>\n<thead>\n<tr>\n<th>\u9805\u76ee<\/th>\n<th>\u30d1\u30e9\u30e1\u30fc\u30bf<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u540d<\/td>\n<td>for-logstash<\/td>\n<\/tr>\n<tr>\n<td>\u8aac\u660e<\/td>\n<td>for_logstash_output<\/td>\n<\/tr>\n<tr>\n<td>\u8868\u793a\u540d<\/td>\n<td>for-logstash<\/td>\n<\/tr>\n<tr>\n<td>\u30ed\u30fc\u30eb\u540d<\/td>\n<td>Storage \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u7ba1\u7406\u8005<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ul>\n<li>\n<p>\u4f5c\u6210\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30ad\u30fc\u3092\u767a\u884c\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/f26b3533-6ba6-d90d-1784-55f08e448bea.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2021-03-06 21.36.10.png\" \/><\/p>\n<\/li>\n<li>\n<p>JSON\u5f62\u5f0f\u3067<strong>\u300c\u4f5c\u6210\u300d<\/strong>\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" width=\"500\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/b58da1fd-7158-0c72-ad24-d257844a3218.png\"><\/p>\n<\/li>\n<li>\n<p>\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb(.json)\u304c\u30ed\u30fc\u30ab\u30ebPC\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002\u3042\u3068\u3067logstash-vm\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30ad\u30fc\u306e\u30b9\u30c6\u30fc\u30bf\u30b9\u304c\u6709\u52b9\u3068\u306a\u3063\u3066\u3044\u308c\u3070OK\u3067\u3059\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" width=\"700\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/611e448f-c8b5-3f58-440f-7d4fb44917db.png\"><\/p>\n<p><strong>\u3010\u88dc\u8db3\u3011<\/strong><br \/>\n\u30fb\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><pre class=\"EnlighterJSRAW\">\n{\n  &quot;type&quot;: &quot;service_account&quot;,\n  &quot;project_id&quot;: &quot;unique-voyage-xxxxxx&quot;,\n  &quot;private_key_id&quot;: &quot;xxxx61dfxxxx3a21xxxx8a8bxxxxfb70xxxx9b49&quot;,\n  &quot;private_key&quot;: &quot;-----BEGIN PRIVATE KEY-----\\n\\n-----END PRIVATE KEY-----\\n&quot;,\n  &quot;client_email&quot;: &quot;for-logstash@unique-voyage-xxxxxx.iam.gserviceaccount.com&quot;,\n  &quot;client_id&quot;: &quot;xxxxxxxxxxxxxxxxxxxxx&quot;,\n  &quot;auth_uri&quot;: &quot;https:\/\/accounts.google.com\/o\/oauth2\/auth&quot;,\n  &quot;token_uri&quot;: &quot;https:\/\/oauth2.googleapis.com\/token&quot;,\n  &quot;auth_provider_x509_cert_url&quot;: &quot;https:\/\/www.googleapis.com\/oauth2\/v1\/certs&quot;,\n  &quot;client_x509_cert_url&quot;: &quot;https:\/\/www.googleapis.com\/robot\/v1\/metadata\/x509\/es-repo%40unique-voyage-xxxxxx.iam.gserviceaccount.com&quot;\n}\n<\/pre>\n<\/p>\n<p><strong>\u3010\u53c2\u8003\u3011<\/strong><br \/>\n\u30fb<a href=\"https:\/\/cloud.google.com\/iam\/docs\/creating-managing-service-accounts?hl=ja\" title=\"\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f5c\u6210\u3068\u7ba1\u7406\">\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u4f5c\u6210\u3068\u7ba1\u7406<\/a><br \/>\n\u30fb<a href=\"https:\/\/cloud.google.com\/iam\/docs\/creating-managing-service-account-keys?hl=ja\" title=\"\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u30ad\u30fc\u306e\u4f5c\u6210\u3068\u7ba1\u7406\">\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u30ad\u30fc\u306e\u4f5c\u6210\u3068\u7ba1\u7406<\/a><\/p>\n<h3>3. Filebeat\u306e\u8a2d\u5b9a<\/h3>\n<ul>\n<li>GCP\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089filebeat-vm\u306b\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/li>\n<li>filebeat.yml\u306e\u8a2d\u5b9a\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo vi \/etc\/filebeat\/filebeat.yml\n<\/pre>\n<\/p>\n<ul>\n<li>Kibana\u306b\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u30ed\u30fc\u30c9\u3059\u308b\u8a2d\u5b9a\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/li>\n<li><strong>setup.dashboards.enabled<\/strong>\u3092<strong>ture<\/strong>\u3068\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n # ================================= Dashboards =================================\n # These settings control loading the sample dashboards to the Kibana index. Loading\n # the dashboards is disabled by default and can be enabled either by setting the\n # options here or by using the &lt;code&gt;setup&lt;\/code&gt; command.\nsetup.dashboards.enabled: true\n<\/pre>\n<\/p>\n<ul>\n<li><strong>setup.kibana<\/strong>\u914d\u4e0b\u306e<strong>host<\/strong>\u306bKibana\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\nsetup.kibana:\nhost: &quot;10.128.0.13:5601&quot;\n<\/pre>\n<\/p>\n<ul>\n<li>Elasticsearch\u3078\u306e\u51fa\u529b\u8a2d\u5b9a\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/li>\n<li><strong>hosts<\/strong>\u306bElasticsearch\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n # ---------------------------- Elasticsearch Output ----------------------------\noutput.elasticsearch:\n  # Array of hosts to connect to.\n  hosts: [&quot;10.128.0.14:9200&quot;]\n<\/pre>\n<\/p>\n<h3>4. Auditd Modules\u306e\u5c0e\u5165<\/h3>\n<ul>\n<li>filebeat-vm\u3067<strong>Auditd Module<\/strong>\u3092\u6709\u52b9\u5316\u3057\u307e\u3059\u3002<\/li>\n<li>\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001<strong>Enabled auditd<\/strong>\u3068\u8868\u793a\u3059\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo filebeat modules enable auditd\n<\/pre>\n<\/p>\n<ul>\n<li>\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3067\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo filebeat modules list\n<\/pre>\n<\/p>\n<ul>\n<li>Auditd Module\u7528\u306e\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<li>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u6761\u4ef6\u306f\u300c\u51fa\u529b\u5148\u304cELasticsearch\u300d\u304b\u3064\u300cFilebeat\u304cKibana\u3068\u901a\u4fe1\u3067\u304d\u308b\u300d\u3053\u3068\u3067\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo filebeat setup \u2013e\nOverwriting ILM policy is disabled. Set &lt;code&gt;setup.ilm.overwrite: true&lt;\/code&gt; for enabling.\nIndex setup finished.\nLoading dashboards (Kibana must be running and reachable)\nLoaded dashboards\nSetting up ML using setup --machine-learning is going to be removed in 8.0.0. Please use the ML app instead.\nSee more: https:\/\/www.elastic.co\/guide\/en\/machine-learning\/current\/index.html\nLoaded machine learning job configurations\nLoaded Ingest pipelines\n<\/pre>\n<\/p>\n<ul>\n<li>Elasticsearch\u3078\u306e\u51fa\u529b\u8a2d\u5b9a\u3092\u7121\u52b9\u5316\u3057\u307e\u3059\u3002<\/li>\n<li><strong>output.elasticsearch<\/strong>\u3068<strong>hosts<\/strong>\u3092\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n # ---------------------------- Elasticsearch Output ----------------------------\n # output.elasticsearch:\n  # Array of hosts to connect to.\n  # hosts: [&quot;localhost:9200&quot;]\n<\/pre>\n<\/p>\n<ul>\n<li>Logstash\u3078\u306e\u51fa\u529b\u8a2d\u5b9a\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/li>\n<li><strong>output.logstash<\/strong>\u914d\u4e0b\u306e<strong>enabled<\/strong>\u3092<strong>true<\/strong>\u3068\u3057\u307e\u3059\u3002<\/li>\n<li><strong>hosts<\/strong>\u306bLogstash\u306eIP\u30a2\u30c9\u30ec\u30b9\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n # ------------------------------ Logstash Output -------------------------------\noutput.logstash:\n  enabled: true\n  # The Logstash hosts\n  hosts: [&quot;10.128.0.12:5044&quot;]\n<\/pre>\n<\/p>\n<h3>5. Logstash\u306e\u8a2d\u5b9a<\/h3>\n<ul>\n<li>GCP\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089logstash-vm\u306b\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/li>\n<li>\u624b\u98062\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" width=\"800\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/f1c88062-8f6c-1812-0ba9-61ff6b39249a.png\"><\/p>\n<ul>\n<li>\u30e6\u30fc\u30b6\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ ll\ntotal 4\n-rw-rw-r--. 1 user01 user01 2329 Mar 06 13:49 unique-voyage-xxxxxx-d095b0237324.json\n<\/pre>\n<\/p>\n<ul>\n<li>\u30ad\u30fc\u30d5\u30a1\u30a4\u30eb(.json)\u3092<strong>\/etc\/logstash<\/strong>\u914d\u4e0b\u306b\u79fb\u52d5\u3055\u305b\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo mv unique-voyage-xxxxxx-d095b0237324.json \/etc\/logtash\/\n<\/pre>\n<\/p>\n<ul>\n<li>logstash-output-google_cloud_storage\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/li>\n<li><strong>Installation successful<\/strong>\u3068\u8868\u793a\u3055\u308c\u308c\u3070OK\u3067\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo \/usr\/share\/logstash\/bin\/logstash-plugin install logstash-output-google_cloud_storage\nUsing bundled JDK: \/usr\/share\/logstash\/jdk\nOpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.\nValidating logstash-output-google_cloud_storage\nInstalling logstash-output-google_cloud_storage\nInstallation successful\n<\/pre>\n<\/p>\n<ul>\n<li><strong>logstash-plugin list<\/strong>\u30b3\u30de\u30f3\u30c9\u3067\u5c0e\u5165\u3057\u305f\u30d7\u30e9\u30b0\u30a4\u30f3\u540d\u304c\u8868\u793a\u3055\u308c\u308c\u3070OK\u3067\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo \/usr\/share\/logstash\/bin\/logstash-plugin list &#039;logstash-output-google_cloud_storage&#039;\nlogstash-output-google_cloud_storage\n<\/pre>\n<\/p>\n<ul>\n<li>logstash.conf\u306e\u8a2d\u5b9a\u3092\u304a\u3053\u306a\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo vi \/etc\/logstash\/conf.d\/logstash.conf\n<\/pre>\n<\/p>\n<ul>\n<li>ingest\u6a5f\u80fd\u3067\u52a0\u5de5\u3067\u304d\u308b\u3088\u3046\u306b<strong>index<\/strong>\u3068<strong>pipeline<\/strong>\u3092\u4e0b\u8a18\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f1\u6642\u9593\u5358\u4f4d\u3067\u30d5\u30a1\u30a4\u30eb\u304cGCS\u306b\u914d\u7f6e\u3055\u308c\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u5206\u5358\u4f4d\u3067\u914d\u7f6e\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\ninput {\n  ### Filebeat\u304b\u3089\u53d7\u4fe1\n  beats {\n    port =&gt; &quot;5044&quot;\n  }\n}\noutput {\n  ### Elasticsearch\u306b\u51fa\u529b\n  elasticsearch {\n    hosts =&gt; &quot;10.128.0.14:9200&quot;\n    index =&gt; &quot;%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}&quot;\n    pipeline =&gt; &quot;%{[@metadata][pipeline]}&quot;\n  }\n  ### GCS\u306b\u51fa\u529b\n  google_cloud_storage { \n    bucket =&gt; &quot;log-bucket-2021&quot;\n    json_key_file =&gt; &quot;\/etc\/logstash\/unique-voyage-xxxxxx-d095b0237324.json&quot;\n    date_patterns =&gt; &quot;%Y-%m-%dT%H:%M:00&quot;\n  }\n}\n<\/pre>\n<\/p>\n<ul>\n<li>logstash-vm\u306eLogstash\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/li>\n<li>\u8d77\u52d5\u5f8c\u3001\u6b63\u5e38\u306b\u30d7\u30ed\u30bb\u30b9\u8d77\u52d5\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo systemctl start logstash\n$ sudo systemctl status logstash\n<\/pre>\n<\/p>\n<ul>\n<li>\u6b21\u306bfilebeat-vm\u306eFilebeat\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002<\/li>\n<li>\u8d77\u52d5\u5f8c\u3001\u6b63\u5e38\u306b\u30d7\u30ed\u30bb\u30b9\u8d77\u52d5\u3067\u304d\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n$ sudo systemctl start filebeat\n$ sudo systemctl status filebeat\n<\/pre>\n<\/p>\n<p><strong>\u3010\u53c2\u8003\u3011<\/strong><br \/>\n\u30fb <a href=\"https:\/\/www.elastic.co\/guide\/en\/logstash\/7.11\/plugins-outputs-google_cloud_storage.html\" title=\"Google Cloud Storage output plugin\">Google Cloud Storage output plugin<\/a><br \/>\n\u30fb <a href=\"https:\/\/www.elastic.co\/guide\/en\/beats\/metricbeat\/7.11\/logstash-output.html\" title=\"Configure the Logstash output\">Configure the Logstash output<\/a><br \/>\n\u30fb <a href=\"https:\/\/www.elastic.co\/guide\/en\/logstash\/7.11\/plugins-outputs-elasticsearch.html\" title=\"Elasticsearch output plugin\">Elasticsearch output plugin<\/a><\/p>\n<h3>6. Kibana\u3067\u30ed\u30b0\u95b2\u89a7<\/h3>\n<ul>\n<li>\n<p>\u30d6\u30e9\u30a6\u30b6\u3067<strong>http:\/\/:5601<\/strong>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" width=\"800\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/94c01043-c667-6c42-ed32-97efba13e881.png\"><\/p>\n<\/li>\n<li>\n<p>[Management] &gt; [Dev Tools]\u3067 <strong>GET _cat\/indices\/filebeat-*?v&amp;s<\/strong> \u3092\u5b9f\u65bd\u3059\u308b\u3068Index\u304c\u751f\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" width=\"800\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/a0b25893-7dcb-f3c0-a923-f2ddda5dc847.png\"><\/p>\n<\/li>\n<li>\n<p>[Management] &gt; [Stack Management] &gt; [Index Patterns]\u3067<strong>Create index pattern<\/strong>\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" width=\"800\" alt=\"image.png\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/f4800258-0abc-9738-d19b-6eb88d51d482.png\"><\/p>\n<\/li>\n<li>\n<p>[Index pattern name]\u306b[filebeat-*]\u3068\u5165\u529b\u3057\u3001[Next step]\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/c1bf9352-76f3-c98e-64dc-6189fed81260.png\" alt=\"image.png\" \/><\/p>\n<\/li>\n<li>\n<p>[Time field]\u306b<strong>@timestamp<\/strong>\u3092\u6307\u5b9a\u3057\u3001[Create index pattern]\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/18a984ab-60be-d456-796b-a73a1c0005e1.png\" alt=\"image.png\" \/><\/p>\n<\/li>\n<li>\n<p>[Dashboard]\u3067<strong>[Filebeat Auditd] Audit Events ECS<\/strong>\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\u4e0b\u8a18\u306e\u3088\u3046\u306aAuditd Module\u306b\u3088\u3063\u3066\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u76e3\u67fb\u30ed\u30b0\u304c\u53ef\u8996\u5316\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" width=\"800\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/7f4f5520-3805-a0d6-d036-54dff01543b4.png\"><\/p>\n<ul>\n<li>[Discover]\u3067\u30ed\u30b0\u3092\u898b\u308b\u3068\u4e0b\u8a18\u5185\u5bb9\u3067\u53d6\u308a\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002(\u76f4\u63a5Filebeat\u304b\u3089\u6765\u305f\u3082\u306e\u3068\u540c\u3058\u3067\u3059)<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n{\n  &quot;_index&quot;: &quot;filebeat-7.11.1-2021.03.06&quot;,\n  &quot;_type&quot;: &quot;_doc&quot;,\n  &quot;_id&quot;: &quot;zPwcCHgBQ64eSJLnd42x&quot;,\n  &quot;_version&quot;: 1,\n  &quot;_score&quot;: null,\n  &quot;_source&quot;: {\n    &quot;agent&quot;: {\n      &quot;hostname&quot;: &quot;filebeat-vm&quot;,\n      &quot;name&quot;: &quot;filebeat-vm&quot;,\n      &quot;id&quot;: &quot;03947b5a-2cca-4d7b-b1af-8d5b375ae235&quot;,\n      &quot;ephemeral_id&quot;: &quot;3cd60301-4e40-4b8b-b2ee-cc21c4715b97&quot;,\n      &quot;type&quot;: &quot;filebeat&quot;,\n      &quot;version&quot;: &quot;7.11.1&quot;\n    },\n    &quot;process&quot;: {\n      &quot;pid&quot;: 2704,\n      &quot;executable&quot;: &quot;\/usr\/sbin\/groupadd&quot;\n    },\n    &quot;log&quot;: {\n      &quot;file&quot;: {\n        &quot;path&quot;: &quot;\/var\/log\/audit\/audit.log&quot;\n      },\n      &quot;offset&quot;: 3013195\n    },\n    &quot;fileset&quot;: {\n      &quot;name&quot;: &quot;log&quot;\n    },\n    &quot;auditd&quot;: {\n      &quot;log&quot;: {\n        &quot;ses&quot;: &quot;4294967295&quot;,\n        &quot;op&quot;: &quot;add-group&quot;,\n        &quot;sequence&quot;: 4179,\n        &quot;subj&quot;: &quot;system_u:system_r:unconfined_service_t:s0&quot;\n      }\n    },\n    &quot;tags&quot;: [\n      &quot;beats_input_codec_plain_applied&quot;\n    ],\n    &quot;cloud&quot;: {\n      &quot;availability_zone&quot;: &quot;us-central1-a&quot;,\n      &quot;instance&quot;: {\n        &quot;name&quot;: &quot;filebeat-vm&quot;,\n        &quot;id&quot;: &quot;7439420779510628078&quot;\n      },\n      &quot;provider&quot;: &quot;gcp&quot;,\n      &quot;machine&quot;: {\n        &quot;type&quot;: &quot;e2-small&quot;\n      },\n      &quot;project&quot;: {\n        &quot;id&quot;: &quot;unique-voyage-xxxxxx&quot;\n      },\n      &quot;account&quot;: {\n        &quot;id&quot;: &quot;unique-voyage-xxxxxx&quot;\n      }\n    },\n    &quot;input&quot;: {\n      &quot;type&quot;: &quot;log&quot;\n    },\n    &quot;@timestamp&quot;: &quot;2021-03-06T15:16:18.606Z&quot;,\n    &quot;ecs&quot;: {\n      &quot;version&quot;: &quot;1.7.0&quot;\n    },\n    &quot;service&quot;: {\n      &quot;type&quot;: &quot;auditd&quot;\n    },\n    &quot;@version&quot;: &quot;1&quot;,\n    &quot;host&quot;: {\n      &quot;hostname&quot;: &quot;filebeat-vm&quot;,\n      &quot;os&quot;: {\n        &quot;kernel&quot;: &quot;3.10.0-1127.19.1.el7.x86_64&quot;,\n        &quot;codename&quot;: &quot;Core&quot;,\n        &quot;name&quot;: &quot;CentOS Linux&quot;,\n        &quot;family&quot;: &quot;redhat&quot;,\n        &quot;version&quot;: &quot;7 (Core)&quot;,\n        &quot;platform&quot;: &quot;centos&quot;\n      },\n      &quot;ip&quot;: [\n        &quot;10.128.0.11&quot;,\n        &quot;fe80::4001:aff:fe80:b&quot;\n      ],\n      &quot;containerized&quot;: false,\n      &quot;name&quot;: &quot;filebeat-vm&quot;,\n      &quot;id&quot;: &quot;cd7c85585b483d2656ce72740e5b59f7&quot;,\n      &quot;mac&quot;: [\n        &quot;42:01:0a:80:00:0b&quot;\n      ],\n      &quot;architecture&quot;: &quot;x86_64&quot;\n    },\n    &quot;event&quot;: {\n      &quot;ingested&quot;: &quot;2021-03-06T15:16:26.671257065Z&quot;,\n      &quot;kind&quot;: &quot;event&quot;,\n      &quot;module&quot;: &quot;auditd&quot;,\n      &quot;action&quot;: &quot;add_group&quot;,\n      &quot;dataset&quot;: &quot;auditd.log&quot;,\n      &quot;outcome&quot;: &quot;failed&quot;\n    },\n    &quot;user&quot;: {\n      &quot;audit&quot;: {\n        &quot;id&quot;: &quot;4294967295&quot;\n      },\n      &quot;name&quot;: &quot;google-sudoers&quot;,\n      &quot;id&quot;: &quot;0&quot;\n    }\n  },\n  &quot;fields&quot;: {\n    &quot;event.ingested&quot;: [\n      &quot;2021-03-06T15:16:26.671Z&quot;\n    ],\n    &quot;@timestamp&quot;: [\n      &quot;2021-03-06T15:16:18.606Z&quot;\n    ]\n  },\n  &quot;sort&quot;: [\n    1615043778606\n  ]\n}\n<\/pre>\n<\/p>\n<h3>7. GCS\u306e\u30ed\u30b0\u95b2\u89a7<\/h3>\n<ul>\n<li>GCP\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089 [Storage] &gt; [\u30d6\u30e9\u30a6\u30b6]\u3092\u958b\u304d\u3001<strong>log-bucket-2021<\/strong>\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li>\u4e0b\u8a18\u306e\u3088\u3046\u306b\u5206\u5358\u4f4d\u3067\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/qiita-image-store.s3.ap-northeast-1.amazonaws.com\/0\/211371\/70a50feb-040d-d065-b042-f14916796551.png\" alt=\"\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8 2021-03-06 23.55.10.png\" \/><\/p>\n<ul>\n<li>\u4e0b\u8a18\u306f\u30ed\u30b0\u306e\u4e2d\u8eab(audit.log\u306e\u30b5\u30f3\u30d7\u30eb)\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<p><pre class=\"EnlighterJSRAW\">\n2021-03-06T14:48:14.829Z {hostname=filebeat-vm, os={name=CentOS Linux, family=redhat, version=7 (Core), platform=centos, kernel=3.10.0-1127.19.1.el7.x86_64, codename=Core}, containerized=false, ip=[10.128.0.11, fe80::4001:aff:fe80:b], name=filebeat-vm, id=cd7c85585b483d2656ce72740e5b59f7, mac=[42:01:0a:80:00:0b], architecture=x86_64} type=CRYPTO_KEY_USER msg=audit(1615042093.428:2033): pid=2234 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:sshd_t:s0-s0:c0.c1023 msg=&#039;op=destroy kind=server fp=SHA256:18:2c:cd:0d:8c:b5:ea:17:f2:33:89:03:e0:bc:d0:df:a0:22:fc:30:c2:b7:84:27:db:f0:c1:30:ed:17:91:1a direction=? spid=2234 suid=0  exe=&quot;\/usr\/sbin\/sshd&quot; hostname=? addr=? terminal=? res=success&#039;```\n<\/pre>\n<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<hr \/>\n<p>\u3055\u3066\u3001\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p>\u610f\u5916\u3068\u5730\u5473\u306b\u624b\u9593\u304c\u591a\u3044\u624b\u9806\u3067\u306f\u3042\u308a\u307e\u3057\u305f\u304c<br \/>\n\u7121\u4e8b\u306bElasticsearch\u3068GCS\u306bFilebeat Modules\u304c\u53d6\u5f97\u3057\u305f\u30ed\u30b0\u3092\u683c\u7d0d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>Filebeat Modules\u3067\u5fc5\u8981\u306a\u30c7\u30fc\u30bf\u3092\u4e8b\u524d\u306bKibana\u306b\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306b<br \/>\nFilebeat\u306e\u51fa\u529b\u5148\u3092\u4e00\u5ea6Elasticsearch\u306b\u5411\u3051\u3066\u304b\u3089\u3001Logstash\u5411\u3051\u306b\u76f4\u3059\u306e\u306f\u3072\u3068\u624b\u9593\u5165\u308a\u307e\u3059\u3002<\/p>\n<p>\u691c\u8a3c\u5f8c\u306b\u6c17\u3065\u3044\u305f\u3093\u3067\u3059\u304c\u3001<a href=\"https:\/\/www.elastic.co\/guide\/en\/beats\/filebeat\/7.11\/load-ingest-pipelines.html\" title=\"Load ingest pipelines\">Load ingest pipelines<\/a>\u306b\u51fa\u529b\u5148\u304cLogstash\u306e\u5834\u5408\u306e\u30ed\u30fc\u30c9\u624b\u9806\u304c\u66f8\u304b\u308c\u3066\u307e\u3057\u305f\u3002<br \/>\n\u3053\u308c\u3067\u5c0e\u5165\u3067\u304d\u308c\u3070\u3001\u4eca\u56de\u306e\u3088\u3046\u306a\u5207\u308a\u66ff\u3048\u306e\u624b\u9593\u304c\u306a\u304f\u3066\u826f\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n<p>\u3042\u3068\u306flogstash.conf\u306eoutput\u53e5\u306e\u66f8\u304d\u65b9\u3055\u3048\u7406\u89e3\u3067\u304d\u308c\u3070\u96e3\u3057\u304f\u306f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u305c\u3072\u3001\u7686\u69d8\u3082\u5fc5\u8981\u306b\u306a\u3063\u305f\u3089\u3001\u3053\u306e\u624b\u9806\u3092\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b^^<\/p>\n<p>\n","protected":false},"excerpt":{"rendered":"<p>Elastic Stack\u3092\u4f7f\u3063\u3066\u65e5\u9803\u304b\u3089\u69d8\u3005\u306a\u30ed\u30b0\u3092\u89e3\u6790\u3057\u3066\u3044\u308b\u3068Filebeat\u306b\u983c\u308b\u3053\u3068\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001Filebeat Modules\u3092\u5229\u7528\u3057\u3066\u3001GSuite\u3084Zoom\u3001O365\u306a\u3069\u306e\u30af\u30e9\u30a6\u30c9\u30b5\u30fc\u30d3 [&#8230;]<\/p>\n","protected":false},"author":67,"featured_media":41275,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[74,208,332],"tags":[75,76,204],"class_list":["post-41273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-elastic","category-gcp","category-h-hibino","tag-elastic","tag-elasticsearch","tag-gcp"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Elastic, GCP, Hisashi Hibino |Elastic Stack\u3092\u4f7f\u3063\u3066\u65e5\u9803\u304b\u3089\u69d8\u3005\u306a\u30ed\u30b0\u3092\u89e3\u6790\u3057\u3066\u3044\u308b\u3068Filebeat\u306b\u983c\u308b\u3053\u3068\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001Filebeat\" \/>\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.creationline.com\/tech-blog\/data-management\/elastic\/41273\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Elastic, GCP, Hisashi Hibino |Elastic Stack\u3092\u4f7f\u3063\u3066\u65e5\u9803\u304b\u3089\u69d8\u3005\u306a\u30ed\u30b0\u3092\u89e3\u6790\u3057\u3066\u3044\u308b\u3068Filebeat\u306b\u983c\u308b\u3053\u3068\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001Filebeat\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/hibino.hisashi\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-09T01:00:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-08T13:21:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png\" \/>\n\t<meta property=\"og:image:width\" content=\"848\" \/>\n\t<meta property=\"og:image:height\" content=\"388\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u65e5\u6bd4\u91ce\u6052\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u65e5\u6bd4\u91ce\u6052\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273\"},\"author\":{\"name\":\"\u65e5\u6bd4\u91ce\u6052\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/a1f055247bc834531f9d65163e428acf\"},\"headline\":\"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch\",\"datePublished\":\"2021-03-09T01:00:35+00:00\",\"dateModified\":\"2021-07-08T13:21:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273\"},\"wordCount\":1070,\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png\",\"keywords\":[\"Elastic\",\"Elasticsearch\",\"GCP\"],\"articleSection\":[\"Elastic\",\"GCP\",\"Hisashi Hibino\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273\",\"name\":\"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png\",\"datePublished\":\"2021-03-09T01:00:35+00:00\",\"dateModified\":\"2021-07-08T13:21:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/a1f055247bc834531f9d65163e428acf\"},\"description\":\"Elastic, GCP, Hisashi Hibino |Elastic Stack\u3092\u4f7f\u3063\u3066\u65e5\u9803\u304b\u3089\u69d8\u3005\u306a\u30ed\u30b0\u3092\u89e3\u6790\u3057\u3066\u3044\u308b\u3068Filebeat\u306b\u983c\u308b\u3053\u3068\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001Filebeat\",\"breadcrumb\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#primaryimage\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png\",\"width\":848,\"height\":388},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Elastic\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/a1f055247bc834531f9d65163e428acf\",\"name\":\"\u65e5\u6bd4\u91ce\u6052\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/07\/3cf6e03c3784798c0e9b4c566ade7f94-150x150.png\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/07\/3cf6e03c3784798c0e9b4c566ade7f94-150x150.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/07\/3cf6e03c3784798c0e9b4c566ade7f94-150x150.png\",\"caption\":\"\u65e5\u6bd4\u91ce\u6052\"},\"description\":\"\u30ed\u30b0\u5206\u6790\u57fa\u76e4\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30c7\u30b6\u30a4\u30f3\u3084\u30af\u30e9\u30a6\u30c9\u306b\u304a\u3051\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5b9f\u88c5\u65b9\u5f0f\u3092\u7814\u7a76\u3059\u308bElastic\u30a8\u30d0\u30f3\u30b8\u30a7\u30ea\u30b9\u30c8\u3002 \u56fd\u5185\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u8cb4\u91cd\u306a\u30ea\u30bd\u30fc\u30b9\u3092\u52b9\u7387\u826f\u304f\u6d3b\u7528\u3067\u304d\u308b\u3088\u3046\u3001\u6280\u8853\u30ca\u30ec\u30c3\u30b8\u3092\u60dc\u3057\u307f\u306a\u304f\u767a\u4fe1\u3059\u308b\u3088\u3046\u5fc3\u304c\u3051\u3066\u3044\u308b\u3002\",\"sameAs\":[\"https:\/\/www.facebook.com\/hibino.hisashi\",\"https:\/\/www.linkedin.com\/in\/hisashi-hibino-61aab7162\/\"],\"url\":\"https:\/\/www.creationline.com\/tech-blog\/author\/h-hibino\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Elastic, GCP, Hisashi Hibino |Elastic Stack\u3092\u4f7f\u3063\u3066\u65e5\u9803\u304b\u3089\u69d8\u3005\u306a\u30ed\u30b0\u3092\u89e3\u6790\u3057\u3066\u3044\u308b\u3068Filebeat\u306b\u983c\u308b\u3053\u3068\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001Filebeat","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.creationline.com\/tech-blog\/data-management\/elastic\/41273","og_locale":"ja_JP","og_type":"article","og_title":"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Elastic, GCP, Hisashi Hibino |Elastic Stack\u3092\u4f7f\u3063\u3066\u65e5\u9803\u304b\u3089\u69d8\u3005\u306a\u30ed\u30b0\u3092\u89e3\u6790\u3057\u3066\u3044\u308b\u3068Filebeat\u306b\u983c\u308b\u3053\u3068\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001Filebeat","og_url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_author":"https:\/\/www.facebook.com\/hibino.hisashi","article_published_time":"2021-03-09T01:00:35+00:00","article_modified_time":"2021-07-08T13:21:08+00:00","og_image":[{"width":848,"height":388,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png","type":"image\/png"}],"author":"\u65e5\u6bd4\u91ce\u6052","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"\u65e5\u6bd4\u91ce\u6052","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"5\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273"},"author":{"name":"\u65e5\u6bd4\u91ce\u6052","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/a1f055247bc834531f9d65163e428acf"},"headline":"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch","datePublished":"2021-03-09T01:00:35+00:00","dateModified":"2021-07-08T13:21:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273"},"wordCount":1070,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png","keywords":["Elastic","Elasticsearch","GCP"],"articleSection":["Elastic","GCP","Hisashi Hibino"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273","url":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273","name":"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png","datePublished":"2021-03-09T01:00:35+00:00","dateModified":"2021-07-08T13:21:08+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/a1f055247bc834531f9d65163e428acf"},"description":"Elastic, GCP, Hisashi Hibino |Elastic Stack\u3092\u4f7f\u3063\u3066\u65e5\u9803\u304b\u3089\u69d8\u3005\u306a\u30ed\u30b0\u3092\u89e3\u6790\u3057\u3066\u3044\u308b\u3068Filebeat\u306b\u983c\u308b\u3053\u3068\u304c\u591a\u304f\u306a\u3063\u3066\u304d\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001Filebeat","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2021\/03\/22d00bcf180639296d1c11314d73b461.png","width":848,"height":388},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic\/41273#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30c7\u30fc\u30bf\u200b\u200b\u30de\u30cd\u30b8\u30e1\u30f3\u30c8","item":"https:\/\/www.creationline.com\/tech-blog\/data-management"},{"@type":"ListItem","position":3,"name":"Elastic","item":"https:\/\/www.creationline.com\/tech-blog\/data-management\/elastic"},{"@type":"ListItem","position":4,"name":"Filebeat Modules\u3068Logstash\u306e\u7d44\u307f\u5408\u308f\u305b\u65b9 #Elastic #Elasticsearch"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/a1f055247bc834531f9d65163e428acf","name":"\u65e5\u6bd4\u91ce\u6052","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/07\/3cf6e03c3784798c0e9b4c566ade7f94-150x150.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/07\/3cf6e03c3784798c0e9b4c566ade7f94-150x150.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2020\/07\/3cf6e03c3784798c0e9b4c566ade7f94-150x150.png","caption":"\u65e5\u6bd4\u91ce\u6052"},"description":"\u30ed\u30b0\u5206\u6790\u57fa\u76e4\u306e\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u30c7\u30b6\u30a4\u30f3\u3084\u30af\u30e9\u30a6\u30c9\u306b\u304a\u3051\u308b\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5b9f\u88c5\u65b9\u5f0f\u3092\u7814\u7a76\u3059\u308bElastic\u30a8\u30d0\u30f3\u30b8\u30a7\u30ea\u30b9\u30c8\u3002 \u56fd\u5185\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u8cb4\u91cd\u306a\u30ea\u30bd\u30fc\u30b9\u3092\u52b9\u7387\u826f\u304f\u6d3b\u7528\u3067\u304d\u308b\u3088\u3046\u3001\u6280\u8853\u30ca\u30ec\u30c3\u30b8\u3092\u60dc\u3057\u307f\u306a\u304f\u767a\u4fe1\u3059\u308b\u3088\u3046\u5fc3\u304c\u3051\u3066\u3044\u308b\u3002","sameAs":["https:\/\/www.facebook.com\/hibino.hisashi","https:\/\/www.linkedin.com\/in\/hisashi-hibino-61aab7162\/"],"url":"https:\/\/www.creationline.com\/tech-blog\/author\/h-hibino"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/41273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/67"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=41273"}],"version-history":[{"count":35,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/41273\/revisions"}],"predecessor-version":[{"id":41583,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/41273\/revisions\/41583"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/41275"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=41273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=41273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=41273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}