One step closer to the edge. So I got the split { field => "[data][children]" } working and the data is coming in from that. But getting an error for the replies split to get the data in from those.
[2019-04-11T15:04:00,651][WARN ][logstash.filters.split ] Only String and Array types are splittable. field:[replies] is of type = NilClass
split { field => "[data][children]" }
if [data][children][data][body]
{
mutate
{
add_field => {
"id" => "%{[data][children][data][id]}"
"replyid" => "%{[data][children][data][id]}"
"reference" => "%{[data][children][data][subreddit]}"
"text" => "%{[data][children][data][body]}"
"postid" => "%{[data][children][data][link_id]}"
"author" => "%{[data][children][data][author]}"
"score" => "%{[data][children][data][score]}"
"link" => "http://reddit.com%{[data][children][data][permalink]}"
}
}
}
mutate
{
remove_field => ["[data]"]
}
split { field => "[replies]" }
if [replies][body]
{
mutate
{
add_field => {
"id" => "%{[replies][id]}"
"replyid" => "%{[replies][id]}"
"reference" => "%{[replies][subreddit]}"
"text" => "%{[replies][body]}"
"postid" => "%{[replies][link_id]}"
"author" => "%{[replies][author]}"
"score" => "%{[replies][score]}"
"link" => "http://reddit.com%{[replies][permalink]}"
}
}
}
mutate
{
remove_field => ["[replies]"]
}