0

Sample Data : { "_id": "5c53d41e80e3f817d9cec5b0", "index": 0, "account_number": 1623, "balance": 22526.72, "firstname": "Desiree", "lastname": "Mays", "age": 46, "gender": "female", "address": "931 Metropolitan Avenue, Faxon, Oregon, 3046", "employer": "IDEGO", "email": "desireemays@idego.com", "city": "Rodanthe", "state": "Tennessee" }

Conf File:

input {
file {   
        type => "json"
        path=>'path'
}}filter { json {source => "message"} mutate {add_field => { "field_name" => "%{Firstname}" "%{lastname}"}}}output {
file {
    path =>'path'
}}

I Keep on getting the tag _jsonparsefailure

Arya
  • 1

1 Answers1

0

Could you confirm if the input file is a JSON type and if the path is set appropriately? otherwise i don't see an anomaly with add_field syntax here.

Idriss
  • 56
  • 1
  • 6