Hey everyone, I want to create a search that gives me the following information in a structured way: Which type of host sends data to which type of host using which port? In a table it would basically look like this: typeOfSendingHost|typeOfReceivingHost|destPort At the moment I have the following search, which shows me which type of host is listening on which port. The subsearch is used to provide the type of system based on splunkname. Therefore, the field splunkname is created in the main search. (index="_internal" group=tcpin_connections) |rename host AS splunknames |join type=left splunkname [|search index=index2] |stats values(destPort) by type Example Output: type values(destPort) Indexer 9995, 9997 Intermediate Forwarder 9996, 9997 In the _internal index, the sending system is stored in the field "hostname" and the receiving system is stored in "host". The field "destPort" is the port to which data is sent. Information about our systems is stored in index2. An event in index2 has the field "splunkname" and "type". The field "splunkname" in index2 contains the hostname of the system (e.g. fields hostname/host). The field "type" stores the type of the system (Forwarder, Indexer, Search Head...). My question is, how can I make the results look like this? Sending System Type Receiving System Type destPort Intermediate Forwarder Indexer 9997 Thank you so much in advance
... View more