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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...