Cisco has agreed to acquire Splunk in a deal valued around $28bn, uniting the company’s capabilities in AI, security and observability.