Life is fun and easy!
不正IP報告数
Okan Sensor
ページへ戻る
− Links
印刷
Splunk/7.3.1.1/mac/05appServerPort
の編集 ::
UJP
tech_regist2
:
Splunk
/
7.3.1.1
/
mac
/
05appServerPort
の編集
Splunk/7.3.1.1/mac/05appServerPort の編集
詳細な入力項目を表示
ページタイトル
( 空白で自動設定 )
:
ページ並び順
( 0-9 小数可 標準:1 )
:
ページ別名
(複数は[
改行
]で区切る)
:
ページ内容:
*Running SplunkWeb in Legacy Mode by setting appServerPorts = 0 [#jcf9b029] **はじめに [#x3f0dc07] Splunkをインストールし,nginxをフロントエンドにしてい他のだけれど,メッセージ通知があったので,それを改善する. **メッセージを確認 [#h4171485] #ref(site://modules/xelfinder/index.php?page=view&file=6416&SplunkDataDelete020.jpg,center) リンクにアクセスすると,次のページに. https://docs.splunk.com/Documentation/Splunk/7.3.1/ReleaseNotes/Deprecatedfeatures ここには次のように記載. Running SplunkWeb in Legacy Mode by setting appServerPorts = 0 in web.conf has been deprecated. This was a temporary workaround for issues that are now resolved. Normal mode provides performance and configuration benefits. web.confのappServerPortsを0に設定する事は最新のバージョンでは廃止されていて,元々一時的なものだったようだ. という事で,修復してみる. **web.confの設定を変更 [#c27aff6d] まずは変更するweb.confを確認. $ cd /Applications/Splunk/etc/system/default🆑 $ ls -la web.conf🆑 -r--r--r-- 1 nobuaki wheel 53448 10 22 16:41 web.conf🈁 $ web.confの中身を確認. # list of ports to start python application servers on (although usually # one port is enough) Set to 0 to instead run the application server # directly as the web front end on 'httpport', separate from splunkd. #appServerPorts = 8065 appServerPorts = 0 nginxをリバースプロキシにする際にappServerPorts=0を設定しているが,これを元に戻す. # list of ports to start python application servers on (although usually # one port is enough) Set to 0 to instead run the application server # directly as the web front end on 'httpport', separate from splunkd. appServerPorts = 8065 #appServerPorts = 0 元に戻したら,Splunkの再起動. $ /Applications/Splunk/bin/splunk stop🆑 Stopping splunkweb... Stopping splunkd... Shutting down. Please wait, as this may take a few minutes. Stopping splunk helpers... Done. $ 停止できたら,起動する. $ /Applications/Splunk/bin/splunk start🆑 Splunk> Finding your faults, just like mom. Checking prerequisites... Checking http port [8000]: open Checking mgmt port [8089]: open Checking appserver port [127.0.0.1:8065]: open🈁 Checking kvstore port [8191]: open Checking configuration... Done. Checking critical directories... Done Checking indexes... Validated: _audit _internal _introspection _telemetry _thefishbucket history ipaccess_access ipaccess_error juno_syslog main ujpadmin_access ujpadmin_error summary ujp_access ujp_error ujp_mail ujp_mailaccess Done Checking filesystem compatibility... Done Checking conf files for problems... Done Checking default conf files for edits... Validating installed files against hashes from '/Applications/Splunk/splunk-7.3.1.1-7651b7244cf2-darwin-64-manifest' File '/Applications/Splunk/etc/system/default/web.conf' changed. Problems were found, please review your files and move customizations to local All preliminary checks passed. Starting splunk server daemon (splunkd)... Done Waiting for web server at http://127.0.0.1:8000 to be available.... Done If you get stuck, we're here to help. Look for answers here: http://docs.splunk.com The Splunk web interface is at http://gaia.local:8000 $ appServerもポート8065で稼働したことが確認できた. **Splunkにログインしてメッセージの確認 [#x15f5def] 再起動後,ログインしてみる. #ref(site://modules/xelfinder/index.php?page=view&file=6417&SplunkDataDelete022.jpg,center) エラーメッセージがなくなっていた.(新バージョンが出ているらしいが・・・)
編集の要約:
Q & A 認証:
ページ更新時は次の質問にお答えください。(プレビュー時は必要ありません)
Q:
日本の首都は?(漢字で)
A:
お名前:
タイムスタンプを変更しない
テキスト整形のルールを表示する
[1]
添付ファイル
[2]
:
Links list
(This host) = http://www.ujp.jp
(This host)
/modules/tech_regist2/?cmd=edit&help=true&page=Splunk%2F7.3.1.1%2Fmac%2F05appServerPort
(This host)
/modules/tech_regist2/?plugin=attach&pcmd=list&refer=Splunk%2F7.3.1.1%2Fmac%2F05appServerPort