{"id":583,"date":"2019-07-19T10:10:28","date_gmt":"2019-07-19T02:10:28","guid":{"rendered":"http:\/\/www.laihp.top\/wordpress\/?p=583"},"modified":"2019-08-26T15:40:19","modified_gmt":"2019-08-26T07:40:19","slug":"splunk%e6%b8%85%e7%90%86%e6%95%b0%e6%8d%ae%e9%87%8d%e5%90%af%e6%9c%8d%e5%8a%a1","status":"publish","type":"post","link":"https:\/\/www.laihp.top\/zqb\/?p=583","title":{"rendered":"splunk\u6e05\u7406\u6570\u636e\u91cd\u542f\u670d\u52a1"},"content":{"rendered":"<pre class=\"pure-highlightjs\"><code class=\"null\">\r\n\r\n[root@ip-172-31-21-87 bin]# cd \/data\/splunk\/bin\/\r\n[root@ip-172-31-21-87 bin]# .\/splunk stop\r\nStopping splunkd...\r\nShutting down.  Please wait, as this may take a few minutes.\r\n.......................................................................................................................                               [  OK  ]\r\nStopping splunk helpers...\r\n                                                           [  OK  ]\r\nDone.\r\n[root@ip-172-31-21-87 bin]#  .\/splunk clean eventdata\r\nThis action will permanently erase all events from ALL indexes; it cannot be undone.\r\nAre you sure you want to continue [y\/n]? y\r\nCleaning database _audit.\r\nCleaning database _internal.\r\nCleaning database _introspection.\r\nCleaning database _telemetry.\r\nCleaning database _thefishbucket.\r\nCleaning database aceevent.\r\nCleaning database b1_a_main.\r\nCleaning database b1_a_spin.\r\nCleaning database b1_amz_main.\r\nCleaning database c1_amz_main.\r\nCleaning database h1_i_main.\r\nCleaning database h1_i_spin.\r\nCleaning database history.\r\nCleaning database main.\r\nCleaning database mint.\r\nCleaning database requests.\r\nCleaning database summary.\r\nDisabled database 'a1_a_main': will not clean.\r\nDisabled database 'a1_a_spin': will not clean.\r\nDisabled database 'a1_amz_main': will not clean.\r\nDisabled database 'a1_amz_spin': will not clean.\r\nDisabled database 'a1_i_main': will not clean.\r\nDisabled database 'a1_i_spin': will not clean.\r\nDisabled database 'b1_amz_spin': will not clean.\r\nDisabled database 'c1_a_main': will not clean.\r\nDisabled database 'c1_a_spin': will not clean.\r\nDisabled database 'c1_amz_spin': will not clean.\r\nDisabled database 'h1_a_main': will not clean.\r\nDisabled database 'h1_a_spin': will not clean.\r\nDisabled database 'splunklogger': will not clean.\r\n[root@ip-172-31-21-87 bin]#  .\/splunk start\r\n\r\nSplunk&gt; Australian for grep.\r\n\r\nChecking prerequisites...\r\n\tChecking http port [80]: open\r\n\tChecking mgmt port [8089]: open\r\n\tChecking appserver port [127.0.0.1:8065]: open\r\n\tChecking kvstore port [8191]: open\r\n\tChecking configuration...  Done.\r\n\tChecking critical directories...\tDone\r\n\tChecking indexes...\r\n\t\tValidated: _audit _internal _introspection _telemetry _thefishbucket aceevent b1_a_main b1_a_spin b1_amz_main c1_amz_main h1_i_main h1_i_spin history main mint requests summary\r\n\tDone\r\n\tChecking filesystem compatibility...  Done\r\n\tChecking conf files for problems...\r\n\tDone\r\n\tChecking default conf files for edits...\r\n\tValidating installed files against hashes from '\/data\/splunk\/splunk-7.0.1-2b5b15c4ee89-linux-2.6-x86_64-manifest'\r\n\tAll installed files intact.\r\n\tDone\r\nAll preliminary checks passed.\r\n\r\nStarting splunk server daemon (splunkd)...  \r\nDone\r\n                                                           [  OK  ]\r\n\r\nWaiting for web server at http:\/\/127.0.0.1:80 to be available.... Done\r\n\r\n\r\nIf you get stuck, we're here to help.  \r\nLook for answers here: http:\/\/docs.splunk.com\r\n\r\nThe Splunk web interface is at http:\/\/ip-172-31-21-87\r\n\r\n\r\n\r\n<\/code><\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[root@ip-172-31-21-87 bin]# cd \/data\/splunk\/bin\/ [root@ &#8230; <a title=\"splunk\u6e05\u7406\u6570\u636e\u91cd\u542f\u670d\u52a1\" class=\"read-more\" href=\"https:\/\/www.laihp.top\/zqb\/?p=583\" aria-label=\"\u7ee7\u7eed\u9605\u8bfbsplunk\u6e05\u7406\u6570\u636e\u91cd\u542f\u670d\u52a1\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-583","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/posts\/583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=583"}],"version-history":[{"count":4,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/posts\/583\/revisions"}],"predecessor-version":[{"id":587,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=\/wp\/v2\/posts\/583\/revisions\/587"}],"wp:attachment":[{"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laihp.top\/zqb\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}