Slide 23
Slide 23 text
23
$ eshosttag -qs "hostname:test-web01" | jq .
{
"hits": [
{
"_index": "hosts",
"_type": "hosts",
"_id": "test-web-192.168.1.1",
"_source": {
"created_at": "2018-10-09T21:34:21+09:00",
"datacenter": "aws",
"env": "dev",
"hostname": "test-web01",
"ip": "192.168.1.1",
"lastping_at": "2018-12-14T09:17:37+09:00",
"project": "test",
"type": "dev",
"dead": null,
"ver_apache": "Apache/2.4.6 (CentOS)",
"ver_hash_httpd_conf": "abcdefghijklmnopqrstuvwxyz123456",
"ver_os": "CentOS Linux release 7.4.1708 (Core)",
"ver_hash_php_ini": "abcdefghijklmnopqrstuvwxyz123456",
"ver_php": "7.2.8"
}
}
]
}
使用イメージ