Thank you.
I have added the new output.
Here the results :
it's OK with the following (first grok filter for an ipv4 address :
I have my fields
{
"_index": "filebeat-6.3.0-2018.08.21",
"_type": "doc",
"_id": "CAbdW2UB-4GQqcKpWxkJ",
"_version": 1,
"_score": null,
"_source": {
"message": "(011418) 21/08/2018 11:44:07 - account_fz (IP_SERVER)> RETR BL_2951519.PCL",
"host": {
"name": "SERVERNAME"
},
"prospector": {
"type": "log"
},
"input": {
"type": "log"
},
"offset": 2365486,
"@timestamp": "2018-08-21T09:44:07.938Z",
"@version": "1",
"id_filezilla": "011418",
"date_filezilla": "21/08/2018 11:44:07",
"source": "C:\Program Files (x86)\FileZilla Server\Logs\fzs-2018-08-21.log",
"tags": [
"beats_input_codec_plain_applied",
"_grokparsefailure"
],
"compte_filezilla": "account_fz",
"beat": {
"version": "6.3.0",
"name": "SERVERNAME",
"hostname": "SERVERNAME"
},
"action_filezilla": "RETR BL_2951519.PCL",
"adresseip_filezilla": "172.21.5.28"
},
"fields": {
"@timestamp": [
"2018-08-21T09:44:07.938Z"
]
},
"highlight": {
"adresseip_filezilla": [
"@kibana-highlighted-field@172.21.5.28@/kibana-highlighted-field@"
],
"action_filezilla": [
"@kibana-highlighted-field@RETR BL_2951519.PCL@/kibana-highlighted-field@"
],
"compte_filezilla": [
"@kibana-highlighted-field@ftp_penta_esker@/kibana-highlighted-field@"
]
},
"sort": [
1534844647938
]
}
For the following, it's not ok, I don't have my fields, because, it's a ipv6 address (::1, localhost address) :
It seems my grok filter for this don't work.
{
"_index": "filebeat-6.3.0-2018.08.20",
"_type": "doc",
"_id": "k8i0WGUB-4GQqcKpgfeC",
"_version": 1,
"_score": null,
"_source": {
"tags": [
"beats_input_codec_plain_applied",
"_grokparsefailure"
],
"message": "(009668) 20/08/2018 21:00:29 - account_fz (::1)> STOR TRF_CCOLLECT.004900",
"offset": 5923185,
"input": {
"type": "log"
},
"host": {
"name": "SERVERNAME"
},
"@version": "1",
"source": "C:\Program Files (x86)\FileZilla Server\Logs\fzs-2018-08-20.log",
"prospector": {
"type": "log"
},
"beat": {
"name": "SERVERNAME",
"hostname": "SERVERNAME",
"version": "6.3.0"
},
"@timestamp": "2018-08-20T19:00:38.913Z"
},
"fields": {
"@timestamp": [
"2018-08-20T19:00:38.913Z"
]
},
"highlight": {
"message": [
"(009668) 20/08/2018 21:00:29 - account_fz (::1)> STOR @kibana-highlighted-field@TRF_CCOLLECT@/kibana-highlighted-field@.004900"
]
},
"sort": [
1534791638913
]
}
So, what's wrong with my filters ?
I have tested with https://grokdebug.herokuapp.com/, it's OK.
Do I have to put my grok filter for ipv6 in another file ?