Hi
I imported Data from SQL server into elastic using Logstash jdbc plugin. The data contains a Varchar(4000) element which contains Json string in it. Is there any way that I can take that data in JSON format and parse it as individual elements into an index using Logstash
I suggest a json filter.
If that does not work then please show us a reproducible example of data that gets a _jsonparsefailure (with element names and values sanitized as necessary).
What does an event look like on stdout?
Don't see much it just prints the json strings from the table and in the end
[INFO ] 2019-06-19 22:27:05.584 [[main]-pipeline-manager] pipeline - Pipeline has terminated {:pipeline_id=>"main", :thread=>"#<Thread:0x4a43b827 run>"}
