Security

Mimecast for Splunk v2: powershell error when setting up the app

continental
New Member

I am trying to setup Splunk for Mimecast using the Addon. Following the directions here https://community.mimecast.com/docs/DOC-2142#jive_content_id_Installation_and_Configuration I get stuck at the login process. When I run the login command it comes back with blank key and a powershell error

PS C:\Program Files\splunk\etc\apps\Splunk_TA_mimecast_for_splunk_v2\bin> .\login.ps1


Welcome to the Mimecast for Splunk setup assistant.


Please enter the email address and Mimecast cloud password of the Mimecast administrator you would like to use for Splunk to connect to Mi
mecast.

cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
Requesting access key and secret key

Invoke-RestMethod : Invalid URI: The hostname could not be parsed.
At C:\Program Files\splunk\etc\apps\Splunk_TA_mimecast_for_splunk_v2\bin\login.ps1:24 char:21
+ ... ponseData = Invoke-RestMethod -Method Post -Headers $requestHeaders - ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Invoke-RestMethod], UriFormatException
+ FullyQualifiedErrorId : System.UriFormatException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Request completed successfully. Extracting values from response.

Access key:
Secret key:

Use these values in your Mimecast for Splunk v2 Data Input. Please ensure you remove any line breaks from the access key and secret key va
lues when using copy / paste from the PowerShell window.

0 Karma

alevy
Path Finder

Hi There,

Please make sure enter a valid email address in the get-credential pop-up.

Many Thanks

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 ...