Skip to content

Instantly share code, notes, and snippets.

Created October 23, 2011 00:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1306691 to your computer and use it in GitHub Desktop.
Save anonymous/1306691 to your computer and use it in GitHub Desktop.
//CLUSTER HEALTH
{
cluster_name: elasticsearch
status: green
timed_out: false
number_of_nodes: 1
number_of_data_nodes: 1
active_primary_shards: 1
active_shards: 1
relocating_shards: 0
initializing_shards: 0
unassigned_shards: 0
}
//CLUSTER NODES
{
cluster_name: elasticsearch
nodes: {
3uKiF-aqRtmYcK3vEBm8Sw: {
name: X-23
transport_address: inet[/192.168.0.52:9300]
attributes: { }
http_address: inet[/192.168.0.52:9200]
os: {
refresh_interval: 1000
cpu: {
vendor: Intel
model: Core(TM) i7-2600 CPU @ 3.40GHz
mhz: 3411
total_cores: 8
total_sockets: 8
cores_per_socket: 16
cache_size: -1b
cache_size_in_bytes: -1
}
mem: {
total: 15.9gb
total_in_bytes: 17155608576
}
swap: {
total: 31.9gb
total_in_bytes: 34309324800
}
}
process: {
refresh_interval: 1000
id: 8500
max_file_descriptors: -1
}
jvm: {
pid: 8500
version: 1.6.0_26
vm_name: Java HotSpot(TM) 64-Bit Server VM
vm_version: 20.1-b02
vm_vendor: Sun Microsystems Inc.
start_time: 1319329815816
mem: {
heap_init: 256mb
heap_init_in_bytes: 268435456
heap_max: 1011.2mb
heap_max_in_bytes: 1060372480
non_heap_init: 23.1mb
non_heap_init_in_bytes: 24313856
non_heap_max: 130mb
non_heap_max_in_bytes: 136314880
}
}
network: {
refresh_interval: 5000
primary_interface: {
address: 192.168.0.52
name: eth18
mac_address: C8:3A:35:C6:06:DF
}
}
transport: {
bound_address: inet[/0.0.0.0:9300]
publish_address: inet[/192.168.0.52:9300]
}
}
}
}
//CLUSTER STATE
{
cluster_name: elasticsearch
master_node: 3uKiF-aqRtmYcK3vEBm8Sw
blocks: { }
nodes: {
3uKiF-aqRtmYcK3vEBm8Sw: {
name: X-23
transport_address: inet[/192.168.0.52:9300]
attributes: { }
}
}
metadata: {
templates: { }
indices: {
foobar: {
state: open
settings: {
index.number_of_replicas: 0
index.number_of_shards: 1
}
mappings: { }
aliases: [ ]
}
}
}
routing_table: {
indices: {
foobar: {
shards: {
0: [
{
state: STARTED
primary: true
node: 3uKiF-aqRtmYcK3vEBm8Sw
relocating_node: null
shard: 0
index: foobar
}
]
}
}
}
}
routing_nodes: {
unassigned: [ ]
nodes: {
3uKiF-aqRtmYcK3vEBm8Sw: [
{
state: STARTED
primary: true
node: 3uKiF-aqRtmYcK3vEBm8Sw
relocating_node: null
shard: 0
index: foobar
}
]
}
}
allocations: [ ]
}
//INFO
{
ok: true
name: X-23
version: {
number: 0.17.9
date: 2011-10-19T22:08:24
snapshot_build: false
}
tagline: You Know, for Search
cover: DON'T PANIC
quote: {
book: The Hitchhiker's Guide to the Galaxy
chapter: Chapter 24
text1: Looking up into the night sky is looking into infinity - distance is incomprehensible and therefore meaningless.
}
}
//NODES STATS
{
cluster_name: elasticsearch
nodes: {
3uKiF-aqRtmYcK3vEBm8Sw: {
name: X-23
indices: {
size: 86b
size_in_bytes: 86
docs: {
num_docs: 0
}
cache: {
field_evictions: 0
field_size: 0b
field_size_in_bytes: 0
filter_count: 0
filter_evictions: 0
filter_size: 0b
filter_size_in_bytes: 0
}
merges: {
current: 0
total: 0
total_time: 0s
total_time_in_millis: 0
}
}
os: {
timestamp: 1319330045579
uptime: 34 hours, 2 minutes and 51 seconds
uptime_in_millis: 122571000
load_average: [ ]
cpu: {
sys: 1
user: 1
idle: 96
}
mem: {
free: 9.6gb
free_in_bytes: 10410262528
used: 6.2gb
used_in_bytes: 6745346048
free_percent: 64
used_percent: 35
actual_free: 10.2gb
actual_free_in_bytes: 11045421056
actual_used: 5.6gb
actual_used_in_bytes: 6110187520
}
swap: {
used: 7.5gb
used_in_bytes: 8083406848
free: 24.4gb
free_in_bytes: 26225917952
}
}
process: {
timestamp: 1319330045581
open_file_descriptors: -1
cpu: {
percent: 0
sys: 530 milliseconds
sys_in_millis: 530
user: 2 seconds and 324 milliseconds
user_in_millis: 2324
total: 2 seconds and 854 milliseconds
total_in_millis: 2854
}
mem: {
resident: 83.4mb
resident_in_bytes: 87498752
share: -1b
share_in_bytes: -1
total_virtual: 1.3gb
total_virtual_in_bytes: 1430867968
}
}
jvm: {
timestamp: 1319330045584
uptime: 3 minutes, 49 seconds and 768 milliseconds
uptime_in_millis: 229768
mem: {
heap_used: 18mb
heap_used_in_bytes: 18905544
heap_committed: 253.9mb
heap_committed_in_bytes: 266272768
non_heap_used: 28mb
non_heap_used_in_bytes: 29445728
non_heap_committed: 29.9mb
non_heap_committed_in_bytes: 31391744
}
threads: {
count: 31
peak_count: 51
}
gc: {
collection_count: 5
collection_time: 51 milliseconds
collection_time_in_millis: 51
collectors: {
ParNew: {
collection_count: 5
collection_time: 51 milliseconds
collection_time_in_millis: 51
}
ConcurrentMarkSweep: {
collection_count: 0
collection_time: 0 milliseconds
collection_time_in_millis: 0
}
}
}
}
network: {
tcp: {
active_opens: 20840
passive_opens: 11553
curr_estab: 101
in_segs: 5105314
out_segs: 6538965
retrans_segs: 23347
estab_resets: 8625
attempt_fails: 5501
in_errs: 0
out_rsts: 7100
}
}
transport: {
server_open: 7
}
http: {
server_open: 1
}
}
}
}
//STATUS
{
ok: true
_shards: {
total: 1
successful: 1
failed: 0
}
indices: {
foobar: {
index: {
primary_size: 86b
primary_size_in_bytes: 86
size: 86b
size_in_bytes: 86
}
translog: {
operations: 0
}
docs: {
num_docs: 0
max_doc: 0
deleted_docs: 0
}
merges: {
current: 0
total: 0
total_time: 0s
total_time_in_millis: 0
}
refresh: {
total: 1
total_time: 0s
total_time_in_millis: 0
}
shards: {
0: [
{
routing: {
state: STARTED
primary: true
node: 3uKiF-aqRtmYcK3vEBm8Sw
relocating_node: null
shard: 0
index: foobar
}
state: STARTED
index: {
size: 86b
size_in_bytes: 86
}
translog: {
id: 1319329829622
operations: 0
}
docs: {
num_docs: 0
max_doc: 0
deleted_docs: 0
}
merges: {
current: 0
total: 0
total_time: 0s
total_time_in_millis: 0
}
refresh: {
total: 1
total_time: 0s
total_time_in_millis: 0
}
}
]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment