-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
277 lines (273 loc) · 28.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<!DOCTYPE html>
<html lang="zh-Hant-TW">
<head>
<meta name="generator" content="Hugo 0.93.0" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noodp" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<title>Blog O3R</title><meta name="Description" content="Blog O3R"><meta property="og:title" content="Blog O3R" />
<meta property="og:description" content="Blog O3R" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://o3r.moe/" /><meta property="og:image" content="https://o3r.moe/logo.png"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:image" content="https://o3r.moe/logo.png"/>
<meta name="twitter:title" content="Blog O3R"/>
<meta name="twitter:description" content="Blog O3R"/>
<meta name="application-name" content="Blog O3R">
<meta name="apple-mobile-web-app-title" content="Blog O3R"><meta name="theme-color" content="#4E5260"><meta name="msapplication-TileColor" content="#4E5260"><link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#4E5260"><link rel="manifest" href="/site.webmanifest"><link rel="canonical" href="https://o3r.moe/" /><link rel="alternate" href="/index.xml" type="application/rss+xml" title="Blog O3R">
<link rel="feed" href="/index.xml" type="application/rss+xml" title="Blog O3R"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.css@8.0.1/normalize.min.css"><link rel="stylesheet" href="/css/style.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.13.0/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/animate.css@3.7.2/animate.min.css"><script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https:\/\/o3r.moe\/","inLanguage": "zh-Hant-TW","author": {
"@type": "Person",
"name": "Oscar Tseng"
},"description": "Blog O3R","image": "https:\/\/o3r.moe\/images\/Apple-Devices-Preview.png","thumbnailUrl": "https:\/\/o3r.moe\/images\/screenshot.png","license": "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.","name": "Blog O3R"
}
</script></head>
<body header-desktop="fixed" header-mobile="auto"><script type="text/javascript">(window.localStorage && localStorage.getItem('theme') ? localStorage.getItem('theme') === 'dark' : ('dark' === 'auto' ? window.matchMedia('(prefers-color-scheme: dark)').matches : 'dark' === 'dark')) && document.body.setAttribute('theme', 'dark');</script>
<div id="mask"></div><div class="wrapper"><div style="display: none;"><img
class="lazyload"
src="/svg/fox-loading.min.svg"
data-src="/images/header-bg-lowsrc-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp"
data-srcset="/images/header-bg-lowsrc-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp, /images/header-bg-lowsrc-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp 1.5x, /images/header-bg-lowsrc-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp 2x"
data-sizes="auto"
alt="/images/header-bg-lowsrc-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp"
title="/images/header-bg-lowsrc-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp" /></div><header class="mobile" id="header-mobile">
<div class="header-container">
<div class="header-wrapper">
<div class="header-title">
<a href="/" title="Blog O3R">O3R</a>
</div>
<div class="menu-toggle" id="menu-toggle-mobile">
<span></span><span></span><span></span>
</div>
</div>
<div class="menu" id="menu-mobile"><div class="search-wrapper">
<div class="search mobile" id="search-mobile">
<input type="text"
placeholder="Search titles or contents..."
id="search-input-mobile">
<a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-mobile"
title="Search">
<i class="fas fa-search fa-fw"></i>
</a>
<a href="javascript:void(0);" class="search-button search-clear" id="search-clear-mobile"
title="Clear">
<i class="fas fa-times-circle fa-fw"></i>
</a>
<span class="search-button search-loading" id="search-loading-mobile">
<i class="fas fa-spinner fa-fw fa-spin"></i>
</span>
</div>
<a href="javascript:void(0);" class="search-cancel" id="search-cancel-mobile">
Cancel
</a>
</div><a class="menu-item" href="/posts/" title="" >Posts</a><a class="menu-item" href="/tags/" title="" >Tags</a><a class="menu-item" href="/categories/" title="" >Categories</a><a class="menu-item" href="/about/" title="" >About</a><a class="menu-item" href="/myfigures/" title="" >My Figures</a><a class="menu-item" href="https://github.com/LYTzeng" title="GitHub"
rel="noopener noreffer" target="_blank" ><i class='fab fa-github fa-fw'></i></a><a href="javascript:void(0);" class="menu-item theme-switch" title="">
<i class="fas fa-adjust fa-fw"></i>
</a></div>
</div>
</header>
<div class="search-dropdown desktop">
<div id="search-dropdown-desktop"></div>
</div>
<div class="search-dropdown mobile">
<div id="search-dropdown-mobile"></div>
</div>
<div class="header-bg-wrapper mobile">
<div class="mediabox">
<img
class="mediabox-img lazyload"
data-srcset="/images/header-bg-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp"
data-lowsrc="/images/header-bg-lowsrc-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp"
data-sizes="auto"
alt="/images/header-bg-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp"
title="/images/header-bg-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp" />
</div>
</div>
<div class="brand-logo mobile">
<div class="blog">BLOG </div>
<div class="othreer-glitch-stack" style="--stacks: 3;">
<span class="othreer" style="--index: 0;">o3R</span>
<span class="othreer" style="--index: 1;">o3R</span>
<span class="othreer" style="--index: 2;">o3R</span>
</div>
</div>
<div class="header-bg-credits mobile">
Artwork by <a href="https://www.pixiv.net/users/22675109" target="_blank" rel="noopener noreferrer">花咲ちゆ</a> <a href="https://twitter.com/hanasakichu" title="Twitter" target="_blank" rel="noopener noreffer me"><i class="fab fa-twitter fa-fw"></i></a></div><header class="desktop" id="header-desktop">
<div class="header-wrapper" is-sticky="false">
<div class="header-title">
<a href="/" title="Blog O3R">O3R</a>
</div>
<div class="menu">
<div class="menu-inner"><a class="menu-item"
href="/posts/" > Posts </a><a class="menu-item"
href="/tags/" > Tags </a><a class="menu-item"
href="/categories/" > Categories </a><a class="menu-item"
href="/about/" > About </a><a class="menu-item"
href="/myfigures/" > My Figures </a><a class="menu-item"
href="https://github.com/LYTzeng" title="GitHub"
rel="noopener noreffer" target="_blank" ><i class='fab fa-github fa-fw'></i> </a><span class="menu-item delimiter"></span><span class="menu-item search" id="search-desktop">
<input type="text"
placeholder="Search titles or contents..."
id="search-input-desktop">
<a href="javascript:void(0);" class="search-button search-toggle" id="search-toggle-desktop"
title="Search">
<i class="fas fa-search fa-fw"></i>
</a>
<a href="javascript:void(0);" class="search-button search-clear" id="search-clear-desktop"
title="Clear">
<i class="fas fa-times-circle fa-fw"></i>
</a>
<span class="search-button search-loading" id="search-loading-desktop">
<i class="fas fa-spinner fa-fw fa-spin"></i>
</span>
</span><a href="javascript:void(0);" class="menu-item theme-switch" title="">
<i class="fas fa-adjust fa-fw"></i>
</a>
</div>
</div>
</div>
<div class="header-bg-wrapper"><div class="mediabox">
<img
class="mediabox-img lazyload"
data-srcset="/images/header-bg-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp"
data-lowsrc="/images/header-bg-lowsrc-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp"
data-sizes="auto"
alt="/images/header-bg-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp"
title="/images/header-bg-U2F0IEFwciAgMiAwODowOToxNiBVVEMgMjAyMgo=.webp" />
</div>
</div>
<div class="brand-logo">
<div class="blog">BLOG </div>
<div class="othreer-glitch-stack" style="--stacks: 3;">
<span class="othreer" style="--index: 0;">o3R</span>
<span class="othreer" style="--index: 1;">o3R</span>
<span class="othreer" style="--index: 2;">o3R</span>
</div>
</div>
<div class="header-bg-credits desktop">
Artwork by <a href="https://www.pixiv.net/users/22675109" target="_blank" rel="noopener noreferrer">花咲ちゆ</a> <a href="https://twitter.com/hanasakichu" title="Twitter" target="_blank" rel="noopener noreffer me"><i class="fab fa-twitter fa-fw"></i></a></div>
</header><main class="main">
<div class="container"><div class="page home" posts><div class="home-profile"><div class="home-avatar"><a href="/about/" title="About"><img
class="lazyload"
src="/svg/fox-loading.min.svg"
data-src="/images/pfp-e8adc8913acf61888314b907b3f03b41.webp"
data-srcset="/images/pfp-e8adc8913acf61888314b907b3f03b41.webp, /images/pfp-e8adc8913acf61888314b907b3f03b41.webp 1.5x, /images/pfp-e8adc8913acf61888314b907b3f03b41.webp 2x"
data-sizes="auto"
alt="/images/pfp-e8adc8913acf61888314b907b3f03b41.webp"
title="pfp by 中森 煙 @kemurismoke" /></a></div><h1 class="home-title">Oscar T.</h1><h2 class="home-subtitle">Nice to meetcha on the Kumo <3</h2><div class="links"><a href="https://github.com/LYTzeng" title="GitHub" target="_blank" rel="noopener noreffer me"><i class="fab fa-github-alt fa-fw"></i></a><a href="https://linkedin.com/in/li-yen-tseng" title="LinkedIn" target="_blank" rel="noopener noreffer me"><i class="fab fa-linkedin fa-fw"></i></a><a href="https://steamcommunity.com/id/yen-host" title="Steam" target="_blank" rel="noopener noreffer me"><i class="fab fa-steam fa-fw"></i></a><a href="https://www.twitch.tv/0scar0x0" title="Twitch" target="_blank" rel="noopener noreffer me"><i class="fab fa-twitch fa-fw"></i></a><a href="mailto:oscar@o3r.moe" title="Email" rel=" me"><i class="far fa-envelope fa-fw"></i></a><a href="https://discordapp.com/users/697020575989628989" title="Discord" target="_blank" rel="noopener noreffer me"><i class="fab fa-discord fa-fw"></i></a><a href="/index.xml" title="RSS" target="_blank" rel="noopener noreffer me"><i class="fas fa-rss fa-fw"></i></a></div></div>
<article class="single summary" itemscope itemtype="http://schema.org/Article"><div class="featured-image-preview">
<a href="/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location/"><img
class="lazyload"
src="/svg/fox-loading.min.svg"
data-src="/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location.png"
data-srcset="/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location.png, /using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location.png 1.5x, /using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location.png 2x"
data-sizes="auto"
alt="/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location.png"
title="/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location.png" /></a>
</div><h1 class="single-title" itemprop="name headline">
<a href="/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location/">透過相同域名,將用戶依據地理位置路由至對應 S3 bucket</a>
</h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>Oscar Tseng</a></span> <span class="post-publish">published on <time datetime="2022.09.01">2022.09.01</time></span> <span class="post-category">included in <a href="/categories/aws/"><i class="far fa-folder fa-fw"></i>AWS</a></span></div><div class="content">前言 最近遇到客戶有上傳至 S3 的應用,因為客戶希望使用同一個域名,依據用戶所在國家,自動路由到最接近的 region 的 S3 bucket 進行上傳,以增進用戶上傳速度體驗。</div><div class="post-footer">
<a href="/using-single-domain-routing-to-s3-buckets-in-different-regions-based-on-client-location/">Read More</a><div class="post-tags">
<i class="fas fa-tags fa-fw"></i> <a href="/tags/aws/">aws</a>, <a href="/tags/s3/">s3</a>, <a href="/tags/cloudfront/">cloudfront</a>, <a href="/tags/route53/">route53</a>, <a href="/tags/le/">l@e</a></div></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><div class="featured-image-preview">
<a href="/aaru-tkl/"><img
class="lazyload"
src="/svg/fox-loading.min.svg"
data-src="/aaru-tkl/22-04-16%2022-50-36%200271.jpg.webp"
data-srcset="/aaru-tkl/22-04-16%2022-50-36%200271.jpg.webp, /aaru-tkl/22-04-16%2022-50-36%200271.jpg.webp 1.5x, /aaru-tkl/22-04-16%2022-50-36%200271.jpg.webp 2x"
data-sizes="auto"
alt="/aaru-tkl/22-04-16%2022-50-36%200271.jpg.webp"
title="/aaru-tkl/22-04-16%2022-50-36%200271.jpg.webp" /></a>
</div><h1 class="single-title" itemprop="name headline">
<a href="/aaru-tkl/">Helix Lab AARU TKL 客製化鍵盤,第一次組裝就上手</a>
</h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>Oscar Tseng</a></span> <span class="post-publish">published on <time datetime="2022.04.18">2022.04.18</time></span> <span class="post-category">included in <a href="/categories/keyboards/"><i class="far fa-folder fa-fw"></i>Keyboards</a></span></div><div class="content">前言 第一次使用機械式鍵盤大約是在大學唸資工系時,因為寫程式需要爽感才寫得下去,因此入手一個雜牌青軸。 一直到研究所時,陸續換了 Ducky One 2 櫻桃紅軸和</div><div class="post-footer">
<a href="/aaru-tkl/">Read More</a><div class="post-tags">
<i class="fas fa-tags fa-fw"></i> <a href="/tags/peripherals/">Peripherals</a></div></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><div class="featured-image-preview">
<a href="/aws-internship-experience/"><img
class="lazyload"
src="/svg/fox-loading.min.svg"
data-src="/aws-internship-experience/P_20200828_133029.webp"
data-srcset="/aws-internship-experience/P_20200828_133029.webp, /aws-internship-experience/P_20200828_133029.webp 1.5x, /aws-internship-experience/P_20200828_133029.webp 2x"
data-sizes="auto"
alt="/aws-internship-experience/P_20200828_133029.webp"
title="/aws-internship-experience/P_20200828_133029.webp" /></a>
</div><h1 class="single-title" itemprop="name headline">
<a href="/aws-internship-experience/">AWS Taiwan 實習感想 2020-2021</a>
</h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>Oscar Tseng</a></span> <span class="post-publish">published on <time datetime="2022.02.21">2022.02.21</time></span> <span class="post-category">included in <a href="/categories/thoughts/"><i class="far fa-folder fa-fw"></i>Thoughts</a></span></div><div class="content">在 2020 年,剛好是我在臺北科技大學唸研究所的時候,經過重重關卡,很幸運能進入 AWS 做 Cloud Support Intern。 但是寫這篇感想文時,已經是 2022 了 (也已轉為正職)</div><div class="post-footer">
<a href="/aws-internship-experience/">Read More</a><div class="post-tags">
<i class="fas fa-tags fa-fw"></i> <a href="/tags/aws/">aws</a>, <a href="/tags/experiences/">Experiences</a>, <a href="/tags/interview/">Interview</a></div></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><div class="featured-image-preview">
<a href="/lambda-apigateway-mattermost-go-ec2/"><img
class="lazyload"
src="/svg/fox-loading.min.svg"
data-src="/lambda-apigateway-mattermost-go-ec2/lambda-apigateway-mattermost-go-ec2-1.jpg"
data-srcset="/lambda-apigateway-mattermost-go-ec2/lambda-apigateway-mattermost-go-ec2-1.jpg, /lambda-apigateway-mattermost-go-ec2/lambda-apigateway-mattermost-go-ec2-1.jpg 1.5x, /lambda-apigateway-mattermost-go-ec2/lambda-apigateway-mattermost-go-ec2-1.jpg 2x"
data-sizes="auto"
alt="/lambda-apigateway-mattermost-go-ec2/lambda-apigateway-mattermost-go-ec2-1.jpg"
title="目前我實習的公司使用 Mattermost 作為內部通訊軟體,且 Mattermost 支援 Webhook 和 Slash Command。為了方便隨時隨地可以快速開啟/關閉 EC2,因此想寫一個下 Slash Command 指令的工具,直接呼叫 API 來控制和查看 EC2,免去登入 console 的麻煩,一定會方便許多。我使用 Go 寫了一個程式處理 Mattermost 傳入的資料,並且透過 aws-sdk-go 對 EC2 進行操作。程式會在 Lambda 上執行,原始碼請參考我的 Github:https://github.com/LYTzeng/ec2ctl,日後考慮用 CloudFormation 讓需要的人快速佈署。這篇主要會介紹 API Gateway、Lambda 和部份 SDK 的使用。" /></a>
</div><h1 class="single-title" itemprop="name headline">
<a href="/lambda-apigateway-mattermost-go-ec2/">透過 AWS Lambda、API Gateway 和 AWS Go SDK,從 Mattermost 查看/開關 EC2 Instances</a>
</h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>Oscar Tseng</a></span> <span class="post-publish">published on <time datetime="2020.04.21">2020.04.21</time></span> <span class="post-category">included in <a href="/categories/aws/"><i class="far fa-folder fa-fw"></i>AWS</a></span></div><div class="content">目前我實習的公司使用 Mattermost 作為內部通訊軟體,且 Mattermost 支援 Webhook 和 Slash Command。為了方便隨時隨地可以快速開啟/關閉 EC2,因此想寫一個下 Slash Command 指令的工具</div><div class="post-footer">
<a href="/lambda-apigateway-mattermost-go-ec2/">Read More</a><div class="post-tags">
<i class="fas fa-tags fa-fw"></i> <a href="/tags/go/">go</a>, <a href="/tags/aws-lambda/">aws lambda</a>, <a href="/tags/aws-ec2/">aws ec2</a>, <a href="/tags/aws-api-gateway/">aws api gateway</a></div></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><div class="featured-image-preview">
<a href="/monitoring-pfsense-via-kibana/"><img
class="lazyload"
src="/svg/fox-loading.min.svg"
data-src="/monitoring-pfsense-via-kibana/monitoring-pfsense-via-kibana.png"
data-srcset="/monitoring-pfsense-via-kibana/monitoring-pfsense-via-kibana.png, /monitoring-pfsense-via-kibana/monitoring-pfsense-via-kibana.png 1.5x, /monitoring-pfsense-via-kibana/monitoring-pfsense-via-kibana.png 2x"
data-sizes="auto"
alt="/monitoring-pfsense-via-kibana/monitoring-pfsense-via-kibana.png"
title="Kibana 能夠將資料視覺化成各種圖表並進行分析,同時提供 ELK Stack 的管理介面,架設完成的 ELK Stack 之後只需進入 Kibana,就可以透過這個 portal 瀏覽一切 Elastic 的服務。之前我將 pfSense 的 pfBlockerNG 防火牆阻擋紀錄透過 syslog 送給 Logstash,並且使用 Elasticsearch 接收已結構化的資料來提供全文搜尋服務,最後一步就是架設 Kibana 進行視覺化。" /></a>
</div><h1 class="single-title" itemprop="name headline">
<a href="/monitoring-pfsense-via-kibana/">ELK Stack 整合 pfSense (三):Kibana Dashboard</a>
</h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>Oscar Tseng</a></span> <span class="post-publish">published on <time datetime="2020.03.14">2020.03.14</time></span> <span class="post-category">included in <a href="/categories/infra/"><i class="far fa-folder fa-fw"></i>Infra</a></span></div><div class="content">Kibana 能夠將資料視覺化成各種圖表並進行分析,同時提供 ELK Stack 的管理介面,架設完成的 ELK Stack 之後只需進入 Kibana,就可以透過這個 portal 瀏覽一切 Elastic 的服務。之</div><div class="post-footer">
<a href="/monitoring-pfsense-via-kibana/">Read More</a><div class="post-tags">
<i class="fas fa-tags fa-fw"></i> <a href="/tags/elk/">ELK</a>, <a href="/tags/pfsense/">pfSense</a></div></div>
</article><article class="single summary" itemscope itemtype="http://schema.org/Article"><div class="featured-image-preview">
<a href="/sending-logs-from-pfsense-2-logstash/"><img
class="lazyload"
src="/svg/fox-loading.min.svg"
data-src="/sending-logs-from-pfsense-2-logstash/sending-logs-from-pfsense-2-logstash.png"
data-srcset="/sending-logs-from-pfsense-2-logstash/sending-logs-from-pfsense-2-logstash.png, /sending-logs-from-pfsense-2-logstash/sending-logs-from-pfsense-2-logstash.png 1.5x, /sending-logs-from-pfsense-2-logstash/sending-logs-from-pfsense-2-logstash.png 2x"
data-sizes="auto"
alt="/sending-logs-from-pfsense-2-logstash/sending-logs-from-pfsense-2-logstash.png"
title="Logstash 的功能像是一個接收器,支援從許多種 Protocol 接收 Log,如 Syslog、Netflow等,並且透過 Parser 將非結構化資料轉換成半結構化資料。Parser 方便的是使用 Grok Pattern,可以避免自行撰寫複雜的 Regex,不過他也支援 Regex 讓我們可以自訂 Pattern,因此 logstash 的 parsing 是很彈性的。本系列文章介紹 pfSense 與 ELK Stack (7.6 版) 的整合,藉此分析與收集阻擋的連接紀錄。" /></a>
</div><h1 class="single-title" itemprop="name headline">
<a href="/sending-logs-from-pfsense-2-logstash/">ELK Stack 整合 pfSense (一):將 pfSense 防火牆阻擋紀錄傳送到 Logstash</a>
</h1><div class="post-meta"><span class="post-author"><a href="/about/" title="Author" rel=" author" class="author"><i class="fas fa-user-circle fa-fw"></i>Oscar Tseng</a></span> <span class="post-publish">published on <time datetime="2020.03.13">2020.03.13</time></span> <span class="post-category">included in <a href="/categories/infra/"><i class="far fa-folder fa-fw"></i>Infra</a></span></div><div class="content">Logstash 的功能像是一個接收器,支援從許多種 Protocol 接收 Log,如 Syslog、Netflow等,並且透過 Parser 將非結構化資料轉換成半結構化資料。Parser</div><div class="post-footer">
<a href="/sending-logs-from-pfsense-2-logstash/">Read More</a><div class="post-tags">
<i class="fas fa-tags fa-fw"></i> <a href="/tags/elk/">ELK</a>, <a href="/tags/pfsense/">pfSense</a></div></div>
</article><ul class="pagination"><li class="page-item active">
<span class="page-link">
<a href="/">1</a>
</span>
</li><li class="page-item ">
<span class="page-link">
<a href="/page/2/">2</a>
</span>
</li><li class="page-item ">
<span class="page-link">
<a href="/page/3/">3</a>
</span>
</li></ul></div></div>
</main><footer class="footer">
<div class="footer-container"><div class="footer-line">Powered by <a href="https://gohugo.io/" target="_blank" rel="noopener noreffer" title="Hugo 0.93.0">Hugo</a> | Theme - <a href="https://github.com/dillonzq/LoveIt" target="_blank" rel="noopener noreffer" title="LoveIt 0.2.10"><i class="far fa-kiss-wink-heart fa-fw"></i> LoveIt</a>
</div><div class="footer-line"><i class="far fa-copyright fa-fw"></i><span itemprop="copyrightYear">2019 - 2022</span><span class="author" itemprop="copyrightHolder"> <a href="/about/" target="_blank">Oscar Tseng</a></span> | <span class="license"><a rel="license external nofollow noopener noreffer" href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank">CC BY-NC 4.0</a></span></div>
</div>
</footer></div>
<div id="fixed-buttons"><a href="#" id="back-to-top" class="fixed-button" title="Back to Top">
<i class="fas fa-arrow-up fa-fw"></i>
</a><a href="#" id="view-comments" class="fixed-button" title="View Comments">
<i class="fas fa-comment fa-fw"></i>
</a>
</div>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/smooth-scroll@16.1.3/dist/smooth-scroll.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/autocomplete.js@0.37.1/dist/autocomplete.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/algoliasearch@4.2.0/dist/algoliasearch-lite.umd.min.js"></script><script type="text/javascript" src="/lib/lazysizes/plugins/ls.respimg.min.js"></script><script type="text/javascript" src="/lib/lazysizes/plugins/ls.parent-fit.min.js"></script><script type="text/javascript" src="/lib/lazysizes/plugins/ls.object-fit.min.js"></script><script type="text/javascript" src="/lib/lazysizes/plugins/ls.blur-up.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/lazysizes@5.2.2/lazysizes.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"></script><script type="text/javascript" src="https://cdn.jsdelivr.net/npm/sharer.js@0.4.0/sharer.min.js"></script><script type="text/javascript" src="/lib/dayjs/dayjs.min.js"></script><script type="text/javascript">window.config={"code":{"copyTitle":"Copy to clipboard","maxShownLines":20},"search":{"algoliaAppID":"CJDJYKXD2Y","algoliaIndex":"o3r.moe","algoliaSearchKey":"35ae54723dc9f540430a2b6e875d7505","highlightTag":"em","maxResultLength":10,"noResultsFound":"No results found","snippetLength":30,"type":"algolia"}};</script><script type="text/javascript" src="/js/theme.min.js"></script></body>
</html>