What is the correct method for handing multiple results when creating an analysis? For example in my company we have a our Linux servers using a primary and backup dns server in the /etc/resolv.conf file. If I wanted to create an analysis to read that file using lines of file “/etc/resolv.conf”, I will receive multiple results since we have two nameserver lines in the file. I also tried a snippet that I found on another forum post that I edited to similar results.
“if exists file (”/etc/resolv.conf") then following texts of firsts “nameserver” of lines whose (it contains “nameserver”) of file (“/etc/resolv.conf”) else “n/a”
How would I be able to construct relevance to display each line instead of multiple results? Thank you all and hope to see some of you at Interconnect this year