Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Date column has some bad data. I just want to remove the row if the date is doubled up in a row. How do I discard a row based on character count or other logic?

$
0
0
Hello Splunkers, Question about discarding rows, I want to disgard a row that is longer than 19 characters, if found in my query. See below we have some junk data and I want to remove whole row if I see an occurrence as seen below. Is there a way to say row != varchar(19) throw out row? similar to sql.. Not perfect syntax on my part:) Throw out entire row based on this ugly row 2016-02-12 09:32:592016-02-12 10:14:38 This Row type keep etc. etc.. 2016-02-12 09:32:59 Thank You, Daniel MacGillivray

Viewing all articles
Browse latest Browse all 47296

Trending Articles