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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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