I have a csv index imported in Splunk and it represents static pairs "child-account" structure i,e:
account,parent
126,783
125,783
124,783
123,783
321,555
555,777
789,777
999,222
783,222
777,222
222,111
111,0
I need to build a search that would bring back specific branch of the tree structure based on the given parent/branch name i.e
Search for "783" would bring a table result that looks like this:
account,parent
126,783
125,783
124,783
123,783
783,0
or if a search for "777" would bring only children and all below successors, i.e:
account,parent
321,555
555,777
789,777
777,0
Ideally, I also need a way to search and bring resulting ancestors for any given child i,e:
when searching for "777", that would bring:
account,parent
777,222
222,111
111,0
Thank you in advance!
... View more