SlideShare a Scribd company logo
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Kubernetesクラスターとコンテナの
ログ・メトリクスを可視化
流動的なコンテナ環境をリアルタイムにモニタリング
してシームレスな開発・運用を実現
池山 邦彦 (kikeyama@splunk.com)
Sr. Sales Engineer, Splunk Services Japan
Jul 2018
© 2018 SPLUNK INC.
During the course of this presentation, we may make forward-looking statements regarding future events or
the expected performance of the company. We caution you that such statements reflect our current
expectations and estimates based on factors currently known to us and that actual events or results could
differ materially. For important factors that may cause actual results to differ from those contained in our
forward-looking statements, please review our filings with the SEC.
The forward-looking statements made in this presentation are being made as of the time and date of its live
presentation. If reviewed after its live presentation, this presentation may not contain current or accurate
information. We do not assume any obligation to update any forward-looking statements we may make. In
addition, any information about our roadmap outlines our general product direction and is subject to change
at any time without notice. It is for informational purposes only and shall not be incorporated into any contract
or other commitment. Splunk undertakes no obligation either to develop the features or functionality
described or to include any such feature or functionality in a future release.
Splunk, Splunk>, Listen to Your Data, The Engine for Machine Data, Splunk Cloud, Splunk Light and SPL are trademarks and registered trademarks of Splunk Inc. in
the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners. © 2018 Splunk Inc. All rights reserved.
Forward-Looking Statements
© 2018 SPLUNK INC.
DevOps
SplunkでDevとOps両方の観点から開発サイクルを最適化
© 2018 SPLUNK INC.
複雑なDevOpsワークフロー
継続的インテグレーション (CI) / 継続的デリバリー (CD)
Plan
(JIRA, Rally)
Code
(Git, MS-TFS)
Build
(Jenkins, Bamboo)
Test/QA
(Cucumber, SonarQube)
Release
(Jenkins, Octopus)
Stage
(Pivotal, AWS)
Config
(Puppet, Ansible)
Monitor
(New Relic, Dynatrace)
Site Reliability Engineering
APIサービスセキュリティ / コンプライアンスネットワークサービスデータセンター クラウドサービス
ビジネスインパクトモニタリング
通信データデバイスデータwww/HTTPデータアプリケーショデータ 契約関連ソーシャル関連
問題発生のリスク増加
問題対応
の長期化
品質の
低下
機敏さの
劣化
可視性の
欠如
スピード
低下
機能しない
コラボレーション
© 2018 SPLUNK INC.
開発ライフサイクル全体の見える化
API
SDKs UI
Other Tools
Escalation/
Collaboration
固定スキーマなし – どんなデータでもそのまま投入
Plan Code Build Test/QA Stage Release Config Monitor
© 2018 SPLUNK INC.
ビルドチェーンの自動化
コミット デプロイビルド
メトリクス
開発者
© 2018 SPLUNK INC.
Kubernetesを可視化
© 2018 SPLUNK INC.
▶ Splunk Add-on for Kubernetes
https://splunkbase.splunk.com/app/3991/
Kubernetes関連ログ定義のための設定
▶ Splunk Connect for Kubernetes
https://github.com/splunk/splunk-connect-for-kubernetes
Kubernetesクラスターからログ・メトリクスを取得するためのPod作成・管理
▶ Splunk Analysis Workspace
https://splunkbase.splunk.com/app/3976/
メトリクスをSPLなしで簡単可視化
▶ Splunk Demo App for Kubernetes
https://github.com/kikeyama/splunk_kubernetes_demo
Add-onとConnectorで取得したログ・メトリクスを可視化(池山作成)
用意するもの
© 2018 SPLUNK INC.
▶ Splunk Connect for Kubernetes を使ってSplunkにインデックス
▶ Helmを使ってKubernetesデータ取得用のPod作成
▶ 設定方法はこちら↓参照
https://qiita.com/kikeyama/items/6503e5d2a843c7faac52
Kubernetesのログ・メトリクスをSplunkにインデックス
まずはデータを入れるところから
© 2018 SPLUNK INC.
▶ ユースケース
• Kubernetesクラスターの各リソース(Node / Namespace / Service / Pod etc)を管理
• Pod作成処理の成功・失敗をモニタリング
• Kubernetesのエラーログを監視
• Podの数、レプリケーションの数をモニタリング
• コンテナごとのログ、メトリクスをモニタリング
▶ サンプルAppをGitHubに公開(池山作成)
https://github.com/kikeyama/splunk_kubernetes_demo
可視化してコンテナ環境をモニタリング
© 2018 SPLUNK INC.
Insert your own screenshot here.
For best results, use an image sized at 1450 x 850
https://youtu.be/2A_SOZ4Q3wA
© 2018 SPLUNK INC.
一緒にk8sユースケース考えてくれる人募集!
▶ 実際にk8s、コンテナ運用している中での有効な活用方法を検討していただける方を
募集しています
▶ Splunkのこと詳しくわからなくてもOK
▶ GOJAS Slackでディスカッション & ときどき対面でのブレスト
Slackへのサインアップはこちら → http://gojas-slackinvite.herokuapp.com/
© 2018 SPLUNK INC.© 2018 SPLUNK INC.
Thank You.

More Related Content

PDF
Kubernetesの良さを活かして開発・運用!Cloud Native入門 / An introductory Cloud Native #osc19tk
PDF
株式会社コロプラ『GKE と Cloud Spanner が躍動するドラゴンクエストウォーク』第 9 回 Google Cloud INSIDE Game...
PDF
Splunkで実践するKubernetesの運用監視とオブザーバビリティ
PPTX
NTTデータ流Infrastructure as Code~ 大規模プロジェクトを通して考え抜いた基盤自動化の新たな姿~(NTTデータ テクノロジーカンフ...
PDF
本当は楽しいインターネット
PPTX
Azure API Management 俺的マニュアル
PDF
今だからこそ知りたい Docker Compose/Swarm 入門
PDF
Dockerからcontainerdへの移行
Kubernetesの良さを活かして開発・運用!Cloud Native入門 / An introductory Cloud Native #osc19tk
株式会社コロプラ『GKE と Cloud Spanner が躍動するドラゴンクエストウォーク』第 9 回 Google Cloud INSIDE Game...
Splunkで実践するKubernetesの運用監視とオブザーバビリティ
NTTデータ流Infrastructure as Code~ 大規模プロジェクトを通して考え抜いた基盤自動化の新たな姿~(NTTデータ テクノロジーカンフ...
本当は楽しいインターネット
Azure API Management 俺的マニュアル
今だからこそ知りたい Docker Compose/Swarm 入門
Dockerからcontainerdへの移行

What's hot (20)

PDF
PHP+MySQLを使ったスケーラブルなソーシャルゲーム開発
PDF
RancherとGitOps的な話
PDF
Cycloudのストレージ紹介と歴史
PDF
Google Cloud のネットワークとロードバランサ
PDF
kube-system落としてみました
PDF
VMware Cloud on AWSネットワーク詳細解説
PPTX
スマホマーケットの概要と、 マーケティングの失敗例と改善 (アナリティクス アソシエーション 特別セミナー)
PDF
Micrometer/Prometheusによる大規模システムモニタリング #jsug #sf_26
PDF
マルチテナント化で知っておきたいデータベースのこと
PPTX
Kubernetesでの性能解析 ~なんとなく遅いからの脱却~(Kubernetes Meetup Tokyo #33 発表資料)
PDF
M12_数百台の開発サーバをリフトアンドシフト! Azure Migrate 活用ポイント [Microsoft Japan Digital Days]
PDF
Concourseで快適な自動化の旅
PDF
CentOS Linux 8 の EOL と対応策の検討
PDF
IX事業者とインターネットの未来
PDF
Ansibleはじめよぉ -Infrastructure as Codeを理解-
PDF
Ansibleで始めるインフラ構築自動化
PDF
CircleCI vs. CodePipeline
PDF
"SRv6の現状と展望" ENOG53@上越
PPTX
入門!Jenkins
PHP+MySQLを使ったスケーラブルなソーシャルゲーム開発
RancherとGitOps的な話
Cycloudのストレージ紹介と歴史
Google Cloud のネットワークとロードバランサ
kube-system落としてみました
VMware Cloud on AWSネットワーク詳細解説
スマホマーケットの概要と、 マーケティングの失敗例と改善 (アナリティクス アソシエーション 特別セミナー)
Micrometer/Prometheusによる大規模システムモニタリング #jsug #sf_26
マルチテナント化で知っておきたいデータベースのこと
Kubernetesでの性能解析 ~なんとなく遅いからの脱却~(Kubernetes Meetup Tokyo #33 発表資料)
M12_数百台の開発サーバをリフトアンドシフト! Azure Migrate 活用ポイント [Microsoft Japan Digital Days]
Concourseで快適な自動化の旅
CentOS Linux 8 の EOL と対応策の検討
IX事業者とインターネットの未来
Ansibleはじめよぉ -Infrastructure as Codeを理解-
Ansibleで始めるインフラ構築自動化
CircleCI vs. CodePipeline
"SRv6の現状と展望" ENOG53@上越
入門!Jenkins
Ad

Similar to Splunkを使ってKubernetesクラスターとコンテナのログ・メトリクスを可視化 (20)

PDF
Splunk Communityのご紹介
PDF
Splunk 7.0の概要及び新機能
PDF
Kubernetes 導入から始める DevOps について
PDF
[GOJAS] クラウドワークスタイルとSplunk
PDF
会社案内 (リクルーティング) Vol.2 10_11_2023.pdf
PDF
Splunk for DevOps
PDF
【GOJAS Meetup-08】Splunk Insights for Infrastructure 2018-07-10
PDF
楽天のSplunk as a service
PPTX
OCHaCafe2#5 変幻自在♪ 広がるKubernetesのエコシステム
PDF
Splunk_NiteX 「ノンテクエンジニアでも、デキる!ログ解析」
PDF
Splunkと各種ツールによるAWSの管理
PDF
Jbs seminar rancher_200325
PDF
Hccjp rancher+azurearc 201009
PDF
Yifeng hadoop-present-public
PPTX
Clovaにおける機械学習モジュールの配信&運用基盤の紹介
PPTX
Introduction of Kubernetes & Rancher
PDF
Splunk insights for infrastructure 1.1.0 2018-07-13 v2
PDF
クラウドネイティブ時代の オブザーバビリティとは? 〜 SignalFxで実現するマイクロサービスの トレーサビリティとリアルタイム監視・分析 〜
PDF
Hajimete k3s agenda_200730
PDF
NGINX東京ハッピーアワー「DevOpsプラクティスによるクラウドでのKubernetesの利用」
Splunk Communityのご紹介
Splunk 7.0の概要及び新機能
Kubernetes 導入から始める DevOps について
[GOJAS] クラウドワークスタイルとSplunk
会社案内 (リクルーティング) Vol.2 10_11_2023.pdf
Splunk for DevOps
【GOJAS Meetup-08】Splunk Insights for Infrastructure 2018-07-10
楽天のSplunk as a service
OCHaCafe2#5 変幻自在♪ 広がるKubernetesのエコシステム
Splunk_NiteX 「ノンテクエンジニアでも、デキる!ログ解析」
Splunkと各種ツールによるAWSの管理
Jbs seminar rancher_200325
Hccjp rancher+azurearc 201009
Yifeng hadoop-present-public
Clovaにおける機械学習モジュールの配信&運用基盤の紹介
Introduction of Kubernetes & Rancher
Splunk insights for infrastructure 1.1.0 2018-07-13 v2
クラウドネイティブ時代の オブザーバビリティとは? 〜 SignalFxで実現するマイクロサービスの トレーサビリティとリアルタイム監視・分析 〜
Hajimete k3s agenda_200730
NGINX東京ハッピーアワー「DevOpsプラクティスによるクラウドでのKubernetesの利用」
Ad

Splunkを使ってKubernetesクラスターとコンテナのログ・メトリクスを可視化

  • 1. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Kubernetesクラスターとコンテナの ログ・メトリクスを可視化 流動的なコンテナ環境をリアルタイムにモニタリング してシームレスな開発・運用を実現 池山 邦彦 (kikeyama@splunk.com) Sr. Sales Engineer, Splunk Services Japan Jul 2018
  • 2. © 2018 SPLUNK INC. During the course of this presentation, we may make forward-looking statements regarding future events or the expected performance of the company. We caution you that such statements reflect our current expectations and estimates based on factors currently known to us and that actual events or results could differ materially. For important factors that may cause actual results to differ from those contained in our forward-looking statements, please review our filings with the SEC. The forward-looking statements made in this presentation are being made as of the time and date of its live presentation. If reviewed after its live presentation, this presentation may not contain current or accurate information. We do not assume any obligation to update any forward-looking statements we may make. In addition, any information about our roadmap outlines our general product direction and is subject to change at any time without notice. It is for informational purposes only and shall not be incorporated into any contract or other commitment. Splunk undertakes no obligation either to develop the features or functionality described or to include any such feature or functionality in a future release. Splunk, Splunk>, Listen to Your Data, The Engine for Machine Data, Splunk Cloud, Splunk Light and SPL are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners. © 2018 Splunk Inc. All rights reserved. Forward-Looking Statements
  • 3. © 2018 SPLUNK INC. DevOps SplunkでDevとOps両方の観点から開発サイクルを最適化
  • 4. © 2018 SPLUNK INC. 複雑なDevOpsワークフロー 継続的インテグレーション (CI) / 継続的デリバリー (CD) Plan (JIRA, Rally) Code (Git, MS-TFS) Build (Jenkins, Bamboo) Test/QA (Cucumber, SonarQube) Release (Jenkins, Octopus) Stage (Pivotal, AWS) Config (Puppet, Ansible) Monitor (New Relic, Dynatrace) Site Reliability Engineering APIサービスセキュリティ / コンプライアンスネットワークサービスデータセンター クラウドサービス ビジネスインパクトモニタリング 通信データデバイスデータwww/HTTPデータアプリケーショデータ 契約関連ソーシャル関連 問題発生のリスク増加 問題対応 の長期化 品質の 低下 機敏さの 劣化 可視性の 欠如 スピード 低下 機能しない コラボレーション
  • 5. © 2018 SPLUNK INC. 開発ライフサイクル全体の見える化 API SDKs UI Other Tools Escalation/ Collaboration 固定スキーマなし – どんなデータでもそのまま投入 Plan Code Build Test/QA Stage Release Config Monitor
  • 6. © 2018 SPLUNK INC. ビルドチェーンの自動化 コミット デプロイビルド メトリクス 開発者
  • 7. © 2018 SPLUNK INC. Kubernetesを可視化
  • 8. © 2018 SPLUNK INC. ▶ Splunk Add-on for Kubernetes https://splunkbase.splunk.com/app/3991/ Kubernetes関連ログ定義のための設定 ▶ Splunk Connect for Kubernetes https://github.com/splunk/splunk-connect-for-kubernetes Kubernetesクラスターからログ・メトリクスを取得するためのPod作成・管理 ▶ Splunk Analysis Workspace https://splunkbase.splunk.com/app/3976/ メトリクスをSPLなしで簡単可視化 ▶ Splunk Demo App for Kubernetes https://github.com/kikeyama/splunk_kubernetes_demo Add-onとConnectorで取得したログ・メトリクスを可視化(池山作成) 用意するもの
  • 9. © 2018 SPLUNK INC. ▶ Splunk Connect for Kubernetes を使ってSplunkにインデックス ▶ Helmを使ってKubernetesデータ取得用のPod作成 ▶ 設定方法はこちら↓参照 https://qiita.com/kikeyama/items/6503e5d2a843c7faac52 Kubernetesのログ・メトリクスをSplunkにインデックス まずはデータを入れるところから
  • 10. © 2018 SPLUNK INC. ▶ ユースケース • Kubernetesクラスターの各リソース(Node / Namespace / Service / Pod etc)を管理 • Pod作成処理の成功・失敗をモニタリング • Kubernetesのエラーログを監視 • Podの数、レプリケーションの数をモニタリング • コンテナごとのログ、メトリクスをモニタリング ▶ サンプルAppをGitHubに公開(池山作成) https://github.com/kikeyama/splunk_kubernetes_demo 可視化してコンテナ環境をモニタリング
  • 11. © 2018 SPLUNK INC. Insert your own screenshot here. For best results, use an image sized at 1450 x 850 https://youtu.be/2A_SOZ4Q3wA
  • 12. © 2018 SPLUNK INC. 一緒にk8sユースケース考えてくれる人募集! ▶ 実際にk8s、コンテナ運用している中での有効な活用方法を検討していただける方を 募集しています ▶ Splunkのこと詳しくわからなくてもOK ▶ GOJAS Slackでディスカッション & ときどき対面でのブレスト Slackへのサインアップはこちら → http://gojas-slackinvite.herokuapp.com/
  • 13. © 2018 SPLUNK INC.© 2018 SPLUNK INC. Thank You.