You need to open port 8000 in your Security Group configuration that is used by the EC2 instance.
Are you able to telnet to the host server(where splunk is installed) on port 8000 from your machine?
for e.g. command is:
telnet "Replace this with Public IP of the EC2 instance" 8000
... View more