I have a csv file in which i have only one record which is
Insert_time
13/05/2019 0:00:55
Mobile 923xxxxxxxxx
Telco : Paktel
Mask : 62222
Message : Your MCB Debit Card has been charged PKR x
Now i am using grok message in my config file file has been running successful
i have this config file
input
{
file
{
path => "D:/kibanaproject/grok.csv"
start_position => "beginning"
sincedb_path => "NUL"
}
}
filter {
grok {
match => {
"Message" => [
"Your MCB Debit Card has been charged PKR %{NOTSPACE:Amount}"]
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "testing-%{+dd.MM.YYYY}"
}
stdout {
codec => json_lines
}
Please help at earliest highly appreciated