-
-
Notifications
You must be signed in to change notification settings - Fork 28
Example: PCAP Input
Lorenzo Mangani edited this page Nov 3, 2017
·
2 revisions
The following examples illustrate a few recipes using the experimental PCAP input plugin.
input {
pcap {
bpf_filter => 'port 5060'
debug => false
}
}
filter {
sip {
source_field => message
}
}
output {
stdout {}
}
input {
pcap {
bpf_filter => 'tcp and port 5061'
output_format => 'buffer'
}
}
filter {
if type == "TLS" {
ssl {
source_field => message
privateKey => '/path/to/privkey.pem'
publicKey => '/path/to/pubkey.pem'
debug => false
}
}
}
output {
stdout {}
}