I have very limited experience with the ELK stack. I used it when doing some threat hunting exercises. And I have zero experience with Splunk. But having said that, take a look at the Elastic stack as it seems to be the successor to the ELK stack. Free and open source.