Hi,
I have set a Kibana server and I am trying to get it up and running
I must admit, I am very new to kibana and am in learning mode.
I have the following events sent via syslog using port 514 (I am using the root user for now)
I have written the following input
input {
udp {
port => 514
type => syslog
}
}
filter {
if [type] == "syslog" {
grok {
match => {
message => '(%{NUMBER:pre_number}).*?(%{TIMESTAMP_ISO8601:time}).*?(%{IPV4:server_ip}).*?(%{HOSTNAME:server_name}).*?(%{NOTSPACE:par_srv_version}).*?(%{WORD:evt_type}).*?endpoint=(%{HOSTNAME:ep_host_name}).*?(%{IPV4:ep_ip}).*?type=(%{GREEDYDATA:Protection_module})\,.*?caller=(%{GREEDYDATA:caller})\,.*?callee=\'(%{GREEDYDATA:callee})\,.*?MD5=(%{GREEDYDATA:md5})\,.*?description=(%{GREEDYDATA:description})'
}
}
grok {
match => {
message => '(%{NUMBER:pre_number}).*?(%{TIMESTAMP_ISO8601:time}).*?(%{IPV4:server_ip}).*?(%{HOSTNAME:server_name}).*?(%{NOTSPACE:par_srv_version}).*?(%{WORD:evt_type}).*?endpoint=(%{HOSTNAME:ep_host_name}).*?(%{IPV4:ep_ip}).*?type=(%{GREEDYDATA:Protection_module})\,.*?caller=(%{GREEDYDATA:caller})\,.*?callee=\'(%{IPV4:Destination_ip}).*(%{NUMBER:Destination_port}).*MD5=(%{GREEDYDATA:md5})\,.*description=(%{GREEDYDATA:description})'
}
}
grok {
match => {
message => '(%{NUMBER:pre_number}).*?(%{TIMESTAMP_ISO8601:time}).*?(%{IPV4:server_ip}).*?(%{HOSTNAME:server_name}).*?(%{NOTSPACE:par_srv_version}).*?(%{WORD:evt_type}).*?(?<performed_action>\b\w+\b\s*\b\w+\b).*?(%{HOSTNAME:ep_host_name}).*?(%{IPV4:ep_ip})\)\s*.*?(%{GREEDYDATA:action})'
}
}
grok {
match => {
message => '(%{NUMBER:pre_number}).*?(%{TIMESTAMP_ISO8601:time}).*?(%{IPV4:server_ip}).*?(%{HOSTNAME:server_name}).*?(%{NOTSPACE:par_srv_version}).*?(%{WORD:evt_type}).*?Agent.*?(%{HOSTNAME:ep_host_name}).*?(%{IPV4:ep_ip})\)\s*.*?(%{GREEDYDATA:action})'
}
}
grok {
match => {
message => '(%{NUMBER:pre_number}).*?(%{TIMESTAMP_ISO8601:time}).*?(%{IPV4:server_ip}).*?(%{HOSTNAME:server_name}).*?(%{NOTSPACE:par_srv_version}).*?(%{WORD:evt_type}).*?ip=(%{IPV4:ep_ip})\s*.*?(%{GREEDYDATA:action})'
}
}
grok {
match => {
message => '(%{NUMBER:pre_number}).*?(%{TIMESTAMP_ISO8601:time}).*?(%{IPV4:server_ip}).*?(%{HOSTNAME:server_name}).*?(%{NOTSPACE:par_srv_version}).*?(%{WORD:user_for_installation})\@(%{HOSTNAME:ep_host_name}).*?(%{GREEDYDATA:action})'
}
}
grok {
match => {
message => '(%{NUMBER:pre_number}).*?(%{TIMESTAMP_ISO8601:time}).*?(%{IPV4:server_ip}).*?(%{HOSTNAME:server_name}).*?(%{NOTSPACE:par_srv_version}).*?(%{WORD:user_for_installation})\@(%{HOSTNAME:ep_host_name}).*?(%{GREEDYDATA:action})'
}
}
}
}
I have restarted the logstash service.
When I try to discover and create an index I get the "Unable to fetch mapping"
What am I missing?
Thanks
Yoram