Hi all,
I have a little problems that needed solving.
I have a field dns domain dns.question.name has value like this: a.b.c.d
Now i want to split this domain into many other domain like tld, sld ..... dynamically without having to use grok since the domain field can be vary with many has only 2 level domain and other has more.
I have check out kv filter but i seem to only work with field that has key:value type and since domain has no key so that a no go for me.
Can any one propose a solution for me.
Thanks for your time.
Are you saying that you want 4 fields, each of which contains a single part of the domain name (i.e. "a", "b", "c", "d") or do you want "a.b.c.d", "b.c.d", "c.d", "d". I assume you also want "a.b.c.d.e.f" handled.
Thanks for the answer.
But dont mind if i ask what would be the expected output field of this filter.
I assume to be
part1:1
part2:2
and since this is domain stuff we do care about it from the bottom domain so is there a way to reverse this to the first field to be the last one with the dot.
eg: google.com then i want the part1 to be com and the part2 the google.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.