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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...