Hey users
Been trying to figure out below issues but not successful. I created an index to match a data pattern in elasticsearch - but not fetching results when i discover
Results are displaying for default logstash-* pattern. What am i missing here
Data -
{
"message" => "{"message":"2016-07-04T02:34:37.642-0700: 505452.911: [GC (Allocation Failure) [PSYoungGen: 340349K->4283K(342016K)] 754917K->418851K(1339904K), 0.0130968 secs] [Times: user=0.05 sys=0.00, real=0.01 secs] ","@version":"1","@timestamp":"2016-07-04T09:34:38.098Z","host":"SERVER","path":"C:/instances/default/logs/gc.log","type":"Server.gc","environment":"DEVELOPMENT"}",
"@version" => "1",
"@timestamp" => "2016-07-04T09:34:38.145Z",
"application" => "Server",
"dimension" => "JVM Garbage Collection",
"timestamp" => "2016-07-04T02:34:37.642-0700",
"elapse" => 505452.911,
"gctype" => "GC",
"gctext" => "(Allocation Failure)",
"newbefore" => 340349,
"newafter" => 4283,
"newmax" => 342016,
"heapbefore" => 754917,
"heapafter" => 418851,
"heapmax" => 1339904,
"gctime" => 0.0130968
}
Index created
{
"mappings": {
"default": {
"properties": {
"message": {
"type": "string"
},
"@version": {
"type": "string", "index" : "not_analyzed"
},
"@timestamp": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"application": {
"type": "string", "index" : "not_analyzed"
},
"dimension": {
"type": "string", "index" : "not_analyzed"
},
"timestamp": {
"type": "date",
"format": "strict_date_optional_time||epoch_millis"
},
"elapse": {
"type": "double", "index" : "not_analyzed"
},
"gctype": {
"type": "string", "index" : "not_analyzed"
},
"gctext": {
"type": "string", "index" : "not_analyzed"
},
"newbefore": {
"type": "long"
},
"newafter": {
"type": "long"
},
"newmax": {
"type": "long"
},
"heapbefore": {
"type": "long"
},
"heapafter": {
"type": "long"
},
"heapmax": {
"type": "long"
},
"gctime": {
"type": "double", "index" : "not_analyzed"
}
}
}
}
}