Hi Christian, I've changed my input file so that it looks like,
{
"Name": "xxx",
"Profession": "Developer",
"Designation": "Senior",
"StartDate": "20170317",
"Salary": "xxxx"
}
{
"Name": "xxx",
"Profession": "Programmer",
"Designation": "Junior",
"StartDate": "20170519",
"Salary": "xxxx"
}
And my config file is the same which I've mentioned above but the output is weird,
{
"path" => "E:/Ex.log",
"@timestamp" => 2017-05-15T14:44:34.982Z,
"@version" => "1",
"host" => "xxxx",
"message" => "{\r"
}
{
"path" => "E:/Ex.log",
"@timestamp" => 2017-05-15T14:44:34.982Z,
"@version" => "1",
"host" => "xxxx",
"message" => "\t"Name": "xxx",\r"
}
{
"path" => "E:/Ex.log",
"@timestamp" => 2017-05-15T14:44:34.982Z,
"@version" => "1",
"host" => "xxxx",
"message" => "\t"Profession": "Developer",\r"
}
{
"path" => "E:/Ex.log",
"@timestamp" => 2017-05-15T14:44:34.982Z,
"@version" => "1",
"host" => "xxxx",
"message" => "\t"Designation": "Senior",\r"
}
{
"path" => "E:/Ex.log",
"@timestamp" => 2017-05-15T14:44:34.982Z,
"@version" => "1",
"host" => "xxxx",
"message" => "\t"Salary": "xxx",\r"
}
Could you please help me with this?