All Apps and Add-ons

Splunk Add-on for Microsoft Powershell: How to receive data inputs from Skype synthetic transactions?

x3bandy
New Member

I'm trying to use Splunk to run synthetic transactions in powershell and receiving the results.

I've Installed the Add-on for PowerShell on the universal forwarder installed on one of the front end servers.
I have added the following lines in inputs.conf of the universal forwarder

[powershell://Syn-Trans]
script = Test-CsIm -TargetFQDN (Get-CsComputer -Local).pool | Select-Object TargetFqdn, Result, Latency,  @{n="SplunkHost";e={$Env:SPLUNK_SERVER_NAME}}
schedule = */30 * * * *
sourcetype = WinEventLog:Microsoft-Windows-PowerShell/Synthetics

But the result does not turn up in Search.

0 Karma
1 Solution

jcoates_splunk
Splunk Employee
Splunk Employee

does your script work without Splunk?

here's how to check if it's working in Splunk: http://docs.splunk.com/Documentation/AddOns/latest/MSPowerShell/Troubleshooting

View solution in original post

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

does your script work without Splunk?

here's how to check if it's working in Splunk: http://docs.splunk.com/Documentation/AddOns/latest/MSPowerShell/Troubleshooting

0 Karma
Get Updates on the Splunk Community!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...