{"id":7350,"date":"2021-07-28T10:00:59","date_gmt":"2021-07-28T01:00:59","guid":{"rendered":"https:\/\/www.secuavail.com\/kb\/?p=7350"},"modified":"2021-11-17T13:32:10","modified_gmt":"2021-11-17T04:32:10","slug":"ref-210401_01","status":"publish","type":"post","link":"https:\/\/www.secuavail.com\/kb\/references\/ref-210401_01\/","title":{"rendered":"\u30e1\u30c8\u30ea\u30af\u30b9\u76e3\u8996\u306b\u304a\u3051\u308b\u52d5\u7684\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u306e\u65e5\u6642\u5bfe\u5fdc\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u5f53\u8a18\u4e8b\u3067\u306f\u3001LogStare Collecotorv2.1.2 build 210715(\u4ee5\u4e0b\u3001LSC\u3068\u8a18\u8f09)\u306b\u3066\u8ffd\u52a0\u3055\u308c\u305f\u65b0\u6a5f\u80fd\u3067\u3042\u308b\u30e1\u30c8\u30ea\u30af\u30b9\u76e3\u8996\u306b\u304a\u3051\u308b\u52d5\u7684\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u306e\u65e5\u6642\u5bfe\u5fdc\u306b\u3064\u3044\u3066\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n<h2>\u5bfe\u8c61\u30d0\u30fc\u30b8\u30e7\u30f3<\/h2>\n<p>LSC v2.1.2build210715\u4ee5\u964d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3<\/p>\n<h2><span id=\"TLSSYSLOG\" class=\"ez-toc-section\">\u6982\u8981<\/span><\/h2>\n<p>\u30e1\u30c8\u30ea\u30af\u30b9\u76e3\u8996\u3067\u306fREST API\u3092\u8a2d\u5b9a\u5024\u3068\u3057\u3066\u6307\u5b9a\u3057\u307e\u3059\u3002LSC v2.1.2\u3088\u308a\u52d5\u7684\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u7279\u5b9a\u306e\u6587\u5b57\u5217\u306b\u3066REST API\u5185\u306b\u65e5\u6642\u60c5\u5831\u3092\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u203bYYYYMMDD\u306a\u3069<br \/>\n\u5b9f\u969b\u306b\u76e3\u8996\u51e6\u7406\u304c\u52d5\u304f\u969b\u306b\u3001\u65e5\u6642\u3092\u793a\u3059\u6587\u5b57\u5217\u304c\u5b9f\u969b\u306e\u5024\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2>\u8a2d\u5b9a\u65b9\u6cd5<\/h2>\n<p>[]\u5185\u306b\u7279\u5b9a\u306e\u6587\u5b57\u5217\u3092\u633f\u5165\u3057\u65e5\u6642\u60c5\u5831\u3092\u8868\u3057\u307e\u3059\u3002plusDays\u3068\u5024\u306b\u3066\u524d\u5f8c\u306e\u65e5\u4ed8\u3092\u6307\u5b9a\u3057\u307e\u3059(\u300c-1\u300d\u3067\u6628\u65e5\u3068\u306a\u308a\u307e\u3059)\u3002plusDays\u306e\u307b\u304b\u306b\u3001plusMinutes , plusSeconds \u3082\u7528\u3044\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b1\u203b\u57fa\u6e96\u65e5\u30922021\u5e744\u67081\u65e5\u3068\u3059\u308b\u5834\u5408<br \/>\n\u3010\u8a2d\u5b9a\u5024\u3011GET \/api?from=[yyyyMMdd,plusDays,-1]&amp;to=[yyyyMMdd]<br \/>\n\u3010\u7f6e\u63db\u5f8c\u3011GET \/api?from=20210331&amp;to=20210401<\/p>\n<p>\u5e74\u30fb\u6708\u30fb\u65e5\u306b\u52a0\u3048\u3066\u6642\u30fb\u5206\u30fb\u79d2\u3082\u5bfe\u5fdc\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u4f8b2\u203b\u57fa\u6e96\u65e5\u30922021\u5e744\u67081\u65e516\u664216\u520616\u79d2\u3068\u3059\u308b\u5834\u5408<br \/>\n\u3010\u8a2d\u5b9a\u5024\u3011GET \/api?from=[yyyyMMddHHmmss,plusDays,-7]&amp;genparam1=test01<br \/>\n\u3010\u7f6e\u63db\u5f8c\u3011GET \/api?from=202103251616&amp;genparam1=test01<\/p>\n<p>\u6307\u5b9a\u306e\u6841\u6570\u306b\u5408\u308f\u305b\u308b\u969b\u306a\u3069\u3001\u4e00\u90e8\u306b\u5024\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u203b0000\u7b49<br \/>\n\u4f8b3\u203b\u57fa\u6e96\u65e5\u30922021\u5e744\u67081\u65e516\u664216\u520616\u79d2\u3068\u3059\u308b\u5834\u5408<br \/>\n\u3010\u8a2d\u5b9a\u5024\u3011GET \/api?from=[yyyyMMdd1234,plusDays,-1]&amp;to=[yyyyMMdd1234]<br \/>\n\u3010\u7f6e\u63db\u5f8c\u3011GET \/api?from=202103311234&amp;to=202104011234<\/p>\n<p>\u5f15\u6570\u3068\u3057\u3066\u300cunixtime\u300d\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001UNIX\u6642\u9593\u5f62\u5f0f\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<br \/>\n\u4f8b4\u203b\u57fa\u6e96\u65e5\u30922021\u5e744\u67081\u65e516\u664216\u520616\u79d2\u3068\u3059\u308b\u5834\u5408<br \/>\n\u3010\u8a2d\u5b9a\u5024\u3011GET \/api?from=[yyyyMMddHHmmss,plusSeconds,-30,unixtime]&amp;genparam1=test01<br \/>\n\u3010\u7f6e\u63db\u5f8c\u3011GET \/api?from=xxxxxxxxxxxxxx&amp;genparam1=test01<\/p>\n<p>\u30e1\u30c8\u30ea\u30af\u30b9\u76e3\u8996\u81ea\u4f53\u306e\u8a73\u3057\u3044\u8a2d\u5b9a\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"https:\/\/www.secuavail.com\/kb\/references\/ref-20200721_01\/\">METRICS\u76e3\u8996\u306e\u4f7f\u7528\u65b9\u6cd5<\/a><br \/>\n<a href=\"https:\/\/www.secuavail.com\/kb\/references\/ref-210209_03\/\">\u30e1\u30c8\u30ea\u30af\u30b9\u76e3\u8996\u306b\u304a\u3051\u308bOAuth2.0\u8a8d\u8a3c\u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066<\/a><\/p>\n<p>\u4ee5\u4e0a\u3067\u30e1\u30c8\u30ea\u30af\u30b9\u76e3\u8996\u306b\u304a\u3051\u308b\u52d5\u7684\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u306e\u65e5\u6642\u5bfe\u5fdc\u306b\u3064\u3044\u3066\u306e\u8aac\u660e\u306f\u7d42\u4e86\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5f53\u8a18\u4e8b\u3067\u306f\u3001LogStare Collecotorv2.1.2 build 210715(\u4ee5\u4e0b\u3001LSC\u3068\u8a18\u8f09)\u306b\u3066\u8ffd\u52a0\u3055\u308c\u305f\u65b0\u6a5f\u80fd\u3067\u3042\u308b\u30e1\u30c8\u30ea\u30af\u30b9\u76e3\u8996\u306b\u304a\u3051\u308b\u52d5\u7684\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u306e\u65e5\u6642\u5bfe\u5fdc\u306b\u3064\u3044\u3066\u8a18\u8f09\u3057\u307e\u3059\u3002 \u5bfe\u8c61\u30d0\u30fc\u30b8 [&hellip;]","protected":false},"author":21,"featured_media":8819,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[17],"class_list":["post-7350","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-references","tag-lscconf"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/posts\/7350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/comments?post=7350"}],"version-history":[{"count":13,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/posts\/7350\/revisions"}],"predecessor-version":[{"id":8322,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/posts\/7350\/revisions\/8322"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/media\/8819"}],"wp:attachment":[{"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/media?parent=7350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/categories?post=7350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.secuavail.com\/kb\/wp-json\/wp\/v2\/tags?post=7350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}