Skip to content

Instantly share code, notes, and snippets.

@bugcy013
Created November 8, 2012 12:14
Show Gist options
  • Save bugcy013/4038449 to your computer and use it in GitHub Desktop.
Save bugcy013/4038449 to your computer and use it in GitHub Desktop.
Logstash Problem and Solution
Get index from logstash
$curl -s http://192.168.70.54:9200/_status?pretty=true | grep logstash
@bugcy013
Copy link
Author

bugcy013 commented Nov 8, 2012

cluster status

~ ⮁ logstash ⮀ $ ⮀curl -s http://192.168.70.54:9200/_cluster/health\?pretty=1
{
"cluster_name" : "dv_log_cluster",
"status" : "green",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 0,
"active_shards" : 0,
"relocating_shards" : 0,
"initializing_shards" : 0,
"unassigned_shards" : 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment