Added filters and Kibana configuration for heat logs

This commit is contained in:
d34dh0r53 2014-09-22 15:26:51 -05:00
parent 43b5019d54
commit 6b5132bfea
2 changed files with 21 additions and 4 deletions

View File

@ -65,6 +65,15 @@
"type": "lucene", "type": "lucene",
"enable": true, "enable": true,
"query": "tags:rsyslog*" "query": "tags:rsyslog*"
},
"7": {
"id": 7,
"color": "#BA43A9",
"alias": "",
"pin": false,
"type": "lucene",
"enable": true,
"query": "tags:heat*"
} }
}, },
"ids": [ "ids": [
@ -74,7 +83,8 @@
3, 3,
4, 4,
5, 5,
6 6,
7
] ]
}, },
"filter": { "filter": {
@ -467,4 +477,4 @@
"hide": false "hide": false
}, },
"refresh": false "refresh": false
} }

View File

@ -93,8 +93,6 @@ filter {
} }
#----------------------------------------------------------------------- #-----------------------------------------------------------------------
# Parse & tag generic glance logs # Parse & tag generic glance logs
# i.e.:
# 1) neutron.log: 2014-06-11 16:00:30.546 4131 INFO cinder.api.openstack.wsgi [-] http://10.127.26.62:8776/ returned with HTTP 200
grok { grok {
match => ["os_program", "glance.%{GREEDYDATA:os_program_path}"] match => ["os_program", "glance.%{GREEDYDATA:os_program_path}"]
add_tag => [ "glance-generic" ] add_tag => [ "glance-generic" ]
@ -102,6 +100,15 @@ filter {
tag_on_failure => [] tag_on_failure => []
} }
#-----------------------------------------------------------------------
# Parse & tag generic heat logs
grok {
match => ["os_program", "heat.%{GREEDYDATA:os_program_path}"]
add_tag => [ "heat-generic" ]
break_on_match => false
tag_on_failure => []
}
#----------------------------------------------------------------------- #-----------------------------------------------------------------------
# Generic Apache log (primarily GET/POST requests as seen in keystone) # Generic Apache log (primarily GET/POST requests as seen in keystone)
# i.e.: # i.e.: