systemctl status kibana type":"response","@timestamp"..
systemctl status kibana 했을 때.. type":"response","@timestamp":"2023-01-23T16:48:34Z","tags":[],"pid":1656,"method":"post","statusCode":200,"req":{"url":"/api/monitoring/v1/clusters/WQBY9eIVTJCMh8iFA3NcLA","method":"post","headers":{"host":"111.11.1.111:8080","connection":"keep-alive","content-length":"81","accept":"application/json, text/plain, */*","kbn-system-api":"true","kbn-version":"6.8.23",..
2023. 1. 24.
[java] HashMap 순회, 4가지 반복문
HashMap map = new HashMap(); map.put("a", "val1"); map.put("b", "val2"); map.put("c", "val3"); HashMap으로 저장된 map을 반복문으로 꺼내보자. (1) map.forEach((k, v) -> { System.out.println(String.format("키: %s, 값: %s", k, v)); }); 키: a, 값: val1 키: b, 값: val2 키: c, 값: val3 (2) Iterator keys = map.keySet().iterator(); while (keys.hasNext()) { String key = keys.next(); System.out.println(String.format("키: %s, 값: %..
2022. 12. 7.