Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Cisco ルータのログを Stackdriver に送って可視化してみた
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tjmtrhs
January 31, 2020
Technology
1.8k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Cisco ルータのログを Stackdriver に送って可視化してみた
NTT Tech Conference #4
tjmtrhs
January 31, 2020
More Decks by tjmtrhs
See All by tjmtrhs
既存のログ監視システムをクラウドっぽく実装してみた
tjmtrhs
0
580
データモデルYANGの処理系を再発明した話
tjmtrhs
0
1.2k
運用者の試行錯誤を想定したNWモデル上での並列検証システム
tjmtrhs
0
88
コンテナを用いたISPネットワーク検証システムとトラヒックシミュレーションによる作業事前検証の実施
tjmtrhs
0
110
ISP機器設定ファイルをもとにトポロジモデルを抽出し仮想検証環境構築と運用手順確認に利用する手法
tjmtrhs
0
140
皆がすなるカオスエンジアリングといふものを、ネットワークオペレーションでもしてみむとてするなり
tjmtrhs
0
670
ネットワーク機器もエージェントで監視できるのかやってみた mackerel meetup 14 LT
tjmtrhs
0
2.2k
ネットワーク設定の抽象化とコンテナルータを用いた検証環境の立ち上げ支援
tjmtrhs
0
1.3k
もし本番ネットワークをまるごと仮想環境に”コピー”できたらうれしいですか?
tjmtrhs
0
220
Other Decks in Technology
See All in Technology
最高のシステムプロンプトを作るためにフィードバック機能を導入した話
alchemy1115
0
130
「待ち時間」の消滅と「自我消耗」の加速:生成AI時代のエンジニアを救うメンタル・リソース管理
poropinai1966
0
270
テックカンファレンス三大ステークホルダーの文化人類学 ─ 違いを認め合う関係性作り
bash0c7
4
920
Webアプリ認証の全体像 / The Big Picture of Web App Authentication
kitano_yuichi
1
470
AI Agent を本番環境へ―― Microsoft Foundry × Azure Serverless で作る Enterprise-Ready な基盤
shibayan
PRO
1
620
『モデル + ハーネス』で読み解く AIエージェント入門
oracle4engineer
PRO
2
210
セキュリティ研修【MIXI 26新卒技術研修】
mixi_engineers
PRO
28
22k
論語・武士道・産業革命から見る かわるもの、かわらないもの
ichimichi
8
1.4k
新たなDBアーキテクチャ「LTAP」にDeep Dive!!
inoutk
0
120
AIで楽になるはずが、なぜ疲れる?
kinopeee
0
130
それでも、技術なブログを書く理由 #kichijojipm / Why I Still Write Tech Blogs Even Now
shinkufencer
0
1.1k
NYC Summit 2026 におけるAmazon Bedrock AgentCore のアップデート
ren8k
0
200
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
310
Statistics for Hackers
jakevdp
799
230k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.2k
Code Review Best Practice
trishagee
74
20k
Paper Plane
katiecoart
PRO
2
52k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
350
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.2k
Accessibility Awareness
sabderemane
1
160
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
390
We Have a Design System, Now What?
morganepeng
55
8.2k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Transcript
Copyright © NTT Communications Corporation. All rights reserved. Cisco ルータのログを
Stackdriver に送って可視化してみた 2020/01/31 NTT Tech Conference #4 NTTコミュニケーションズ 技術開発部 田島照久
[email protected]
Copyright © NTT Communications Corporation. All rights reserved. ◼ NW機器も日夜ログを出力
◼ ログ蓄積&可視化の製品多数 • Splunk, ELK, … etc. • ログ基盤を作る製品 ◼ それなりに 手軽な 可視化 • syslogサーバなどを作らず • VPN等の経路を用意することなく ログを可視化したい 2 DDD CCC BBB AAA
Copyright © NTT Communications Corporation. All rights reserved. ◼ XaaSのログを収集&構造化できるが、外部のsyslogを入れられる?
◼ AWS パブリッククラウドのサービスがよさそう 3 ◼ GCP CloudWatch sample image from: https://aws.amazon.com/jp/blogs/aws/visualize-and-monitor-highly- distributed-applications-with-amazon-cloudwatch-servicelens/ sample image from: https://cloud.google.com/logging/docs/logs-based- metrics/charts-and-alerts
Copyright © NTT Communications Corporation. All rights reserved. クラウドスタイルにはめてみる 4
DDD CCC BBB AAA HHH GGG FFF EEE 直接外部のsyslogは受信できない HTTPS
Copyright © NTT Communications Corporation. All rights reserved. クラウドスタイルにはめてみる 5
DDD CCC BBB AAA HHH GGG FFF EEE Cloud API syslog文字列を ルータが POST parse して保存 どこまで保存済みか を記録 実行結果を ルータが POST HTTPS
Copyright © NTT Communications Corporation. All rights reserved. Embedded Event
Manager (EEM)でpythonが動く=何でもできる guestshell run python hogehoge.py ◼ Cisco 1100 Integrated Services Router • LTEモジュールやWLAN AP入りモデルあり • CPUは強くないので重い処理はさせない 使用した機器 6 SIM
Copyright © NTT Communications Corporation. All rights reserved. 検索・分析のためFunctionで構造化して保存 ◼
deny log Cloud Functions で ログ文字列 を 処理 7 ◼ interface UP/DOWN
Copyright © NTT Communications Corporation. All rights reserved. ◼ 成功したとき
◼ 失敗したとき slackに通知 8
Copyright © NTT Communications Corporation. All rights reserved. ◼ もちろん期間や構造化したラベルなどで検索可
Log Viewer 9
Copyright © NTT Communications Corporation. All rights reserved. ◼ deny
log をポートごとに全台で集計しtop10を可視化 Metrics Explorer 10
Copyright © NTT Communications Corporation. All rights reserved. ◼ NW機器のログを
手軽に 可視化 • 最小限のオンプレコスト ✓ ルータ自身でスクリプト実行 ✓ 可視化のためのパースはFaaSで実行 • 可視化ダッシュボードが容易 ◼ 次はStackdriverからの連携模索 • 各種Triggerで通知して・・・ まとめ 11