Skip to content

Commit

Permalink
Update index patterns and config (#2337)
Browse files Browse the repository at this point in the history
Run make update for all beats
  • Loading branch information
ruflin authored and Steffen Siering committed Aug 22, 2016
1 parent f858e41 commit 55f02f6
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packetbeat/etc/kibana/index-pattern/packetbeat.json

Large diffs are not rendered by default.

44 changes: 44 additions & 0 deletions packetbeat/packetbeat.template-es2x.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,50 @@
"path_match": "amqp.headers.*"
}
},
{
"cassandra_request": {
"mapping": {
"ignore_above": 1024,
"index": "not_analyzed",
"type": "string"
},
"match_mapping_type": "string",
"path_match": "cassandra_request.*"
}
},
{
"cassandra_response": {
"mapping": {
"ignore_above": 1024,
"index": "not_analyzed",
"type": "string"
},
"match_mapping_type": "string",
"path_match": "cassandra_response.*"
}
},
{
"cassandra_request.request_headers": {
"mapping": {
"ignore_above": 1024,
"index": "not_analyzed",
"type": "string"
},
"match_mapping_type": "string",
"path_match": "cassandra_request.request_headers.*"
}
},
{
"cassandra_response.response_headers": {
"mapping": {
"ignore_above": 1024,
"index": "not_analyzed",
"type": "string"
},
"match_mapping_type": "string",
"path_match": "cassandra_response.response_headers.*"
}
},
{
"http.request.headers": {
"mapping": {
Expand Down
40 changes: 40 additions & 0 deletions packetbeat/packetbeat.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,46 @@
"path_match": "amqp.headers.*"
}
},
{
"cassandra_request": {
"mapping": {
"ignore_above": 1024,
"type": "keyword"
},
"match_mapping_type": "string",
"path_match": "cassandra_request.*"
}
},
{
"cassandra_response": {
"mapping": {
"ignore_above": 1024,
"type": "keyword"
},
"match_mapping_type": "string",
"path_match": "cassandra_response.*"
}
},
{
"cassandra_request.request_headers": {
"mapping": {
"ignore_above": 1024,
"type": "keyword"
},
"match_mapping_type": "string",
"path_match": "cassandra_request.request_headers.*"
}
},
{
"cassandra_response.response_headers": {
"mapping": {
"ignore_above": 1024,
"type": "keyword"
},
"match_mapping_type": "string",
"path_match": "cassandra_response.response_headers.*"
}
},
{
"http.request.headers": {
"mapping": {
Expand Down
4 changes: 4 additions & 0 deletions packetbeat/packetbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ packetbeat.protocols.amqp:
# the AMQP protocol by commenting out the list of ports.
ports: [5672]

packetbeat.protocols.cassandra:
#Cassandra port for traffic monitoring.
ports: [9042]

packetbeat.protocols.dns:
# Configure the ports where to listen for DNS traffic. You can disable
# the DNS protocol by commenting out the list of ports.
Expand Down

0 comments on commit 55f02f6

Please sign in to comment.