{"id":764,"date":"2013-02-07T06:00:55","date_gmt":"2013-02-07T06:00:55","guid":{"rendered":"https:\/\/cowman-chiang.no-ip.org\/wordpress\/?p=764"},"modified":"2023-10-31T15:52:48","modified_gmt":"2023-10-31T07:52:48","slug":"splunk-%e5%8f%96%e5%be%97license%e4%bd%bf%e7%94%a8%e9%87%8f","status":"publish","type":"post","link":"https:\/\/cowmanchiang.me\/wp\/?p=764","title":{"rendered":"Splunk \u53d6\u5f97License\u4f7f\u7528\u91cf"},"content":{"rendered":"<p>\u5047\u8a2d\u662f\u8981\u53d6\u5f97\u76ee\u524d\u4f7f\u7528\u91cf<br \/>\n<code>index=<em>internal source=*metrics.log group=per_index_thruput NOT (series=<\/em>* OR series=*summary) starttime=02\/07\/2013:00:00:00 | timechart span=1d sum(eval(kb\/1024)) AS \"MB indexed\" by series<\/code><\/p>\n<p>\u57fa\u672c\u4e0a\u5c31\u662f\u9650\u5236starttime\u7684\u8d77\u59cb\u70ba\u7576\u65e5\u768400:00:00<br \/>\n(starttime format\u70ba %m\/%d\/%Y:%H:%M:%S)<\/p>\n<p>\u5982\u679c\u662f\u8981\u53d6\u5f97\u6700\u8fd1\u5e7e\u5929\u7684License Usage<br \/>\n<code>index=_internal source=*license_usage.log type=RolloverSummary earliest=-7d<br \/>\n| eval GB = b\/1024\/1024\/1024<br \/>\n| eval _time = _time - 43200<br \/>\n| timechart span=1d sum(GB) AS \"Total GB used\"<\/code><\/p>\n<p>Ref Site: <a href=\"http:\/\/splunk-base.splunk.com\/answers\/65311\/daily-license-usage-by-index-across-all-indexers\">http:\/\/splunk-base.splunk.com\/answers\/65311\/daily-license-usage-by-index-across-all-indexers<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5047\u8a2d\u662f\u8981\u53d6\u5f97\u76ee\u524d\u4f7f\u7528\u91cf index=internal source=*metrics.log group=per_index_thruput NOT (series=* OR series=*summary) starttime=02\/07\/2013:00:00:00 | timechart span=1d sum(eval(kb\/1024)) AS &#8220;MB indexed&#8221; by series \u57fa\u672c\u4e0a\u5c31\u662f\u9650\u5236starttime\u7684\u8d77\u59cb\u70ba\u7576\u65e5\u768400:00:00 (starttime format\u70ba %m\/%d\/%Y:%H:%M:%S) \u5982\u679c\u662f\u8981\u53d6\u5f97\u6700\u8fd1\u5e7e\u5929\u7684License Usage index=_internal source=*license_usage.log type=RolloverSummary earliest=-7d | eval GB = b\/1024\/1024\/1024 | eval _time = _time &#8211; 43200 &hellip; <a href=\"https:\/\/cowmanchiang.me\/wp\/?p=764\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[77],"tags":[],"class_list":["post-764","post","type-post","status-publish","format-standard","hentry","category-splunk"],"_links":{"self":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=764"}],"version-history":[{"count":1,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/764\/revisions"}],"predecessor-version":[{"id":2102,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/764\/revisions\/2102"}],"wp:attachment":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=764"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}