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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...