I was wondering if anyone could tell me the main difference between these sourcetypes. As far as I can see in the scripts, they're both collecting network interface data, however while interfaces.sh relies heavily on the ifconfig module which is broadly available among different Linux distributions, the bandwidth script uses the sar module, or as a substitution netstat on Solaris machines for example.
However looking at it from the official part, it seems that the interfaces sourcetype (indexed by interfaces.sh) isn't even used in Splunk's CIM, while the bandwidth sourcetype (for which I couldn't even find any trace in the official Add-On documentation) is used as main network activity source.
So getting back to my question, both commands list information about a systems network communication. Where is their big difference and which one should I use in which cases?
... View more