4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Splunk8.xにいきなり!Upgradeする前に必ずチェック!

Posted at

はじめに

(以下、コメント原文)

  1. We removed 99% of the underlying AdvancedXML modules in Splunk 8.0. This means trying to make a custom module that inherits from one that no longer exists is going to fail. It sounds like search_activity still uses AdvancedXML, so in order for that app to work with 8.0 it would have to be ported.
  1. When you have a python import exception in the appserver/splunkweb layer, CherryPy, the appserver/splunkweb, will not start. So, because 1 is failing on import, it breaks splunkweb.

要するに

  • AdvancedXML modulesの99%を8.0ではカットしたので、それを使っている場合、失敗する可能性がある。事前に移行する必要あり。
  • appserver / splunkwebレイヤーにPythonインポート例外がある場合、appserver / splunkwebであるCherryPyは起動しません。
  • おそらく私の環境のAppも依存関係に引っかかって上記事象にあたっていると思います。どのappが影響しているかが、以下のログから特定できればよかったのですが、私の場合App名が載っていなかったので原因の完全特定ができず。
    • /opt/splunk/var/log/splunk/web_service.log
  • 対応策としては、原因と思しきAppsのフォルダをCLIから削除するのがベターなアプローチのようです。

Splunk8からpyhton3系サポートを開始

check項目

  • 7.xから8.0にUpgradeする前に、どのAppを改修/更新しておかないと影響を及ぼしそうかcheckしてくれるappが公開されています
  • Splunk Platform Upgrade Readiness App
スクリーンショット 2020-02-05 9.06.05.png

まとめ

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?