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",
"enable": true,
"query": "tags:rsyslog*"
},
"7": {
"id": 7,
"color": "#BA43A9",
"alias": "",
"pin": false,
"type": "lucene",
"enable": true,
"query": "tags:heat*"
}
},
"ids": [
@ -74,7 +83,8 @@
3,
4,
5,
6
6,
7
]
},
"filter": {

View File

@ -93,8 +93,6 @@ filter {
}
#-----------------------------------------------------------------------
# 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 {
match => ["os_program", "glance.%{GREEDYDATA:os_program_path}"]
add_tag => [ "glance-generic" ]
@ -102,6 +100,15 @@ filter {
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)
# i.e.: