Splunk IT Service Intelligence

Missing required arguments - SPLUNK_URL. however I can confirm the correct URL is within the script. Can anyone help?

Fergie
New Member

I am currently using Splunk Insights for Infrastructure within an AWS environment and I am trying to collect application logs from one of my EC2 instance. Every time I try to paste the generated script I get this error: Missing required arguments - SPLUNK_URL. however I can confirm the correct URL is within the script. Can anyone help?

0 Karma

pwu_splunk
Splunk Employee
Splunk Employee

Out of curiosity, is there a reason you're adding EC2 entities via an installation script and not the AWS tab in Splunk Insights for Infrastructure? The AWS tab sets everything up via your AWS account, and this is the recommended method of collecting data from EC2.

0 Karma

atsviatkou_splu
Splunk Employee
Splunk Employee

Your code snippet from Add Data page should start with export SPLUNK_URL=your-machine.com .... Can you check this is present and has value?

0 Karma

dagarwal_splunk
Splunk Employee
Splunk Employee

Do you have all 3 required arguments (non empty) in the generated script that you run: SPLUNK_URL, HEC_PORT, HEC_TOKEN?
If yes, can you paste the generated script here (hide(*) any private info in the script) ?

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...