...oth command line argumenst and stdin (payload)
.Description
Powershell -File "D:\Splunk\etc\apps\klp_nimsoft_custom_alerts\bin\testArguments.ps1"
#>
<#
Get current timestamp, used when w...
Hello, I am receiving cloud data from AWS via HEC in JSON format but I am having trouble getting the "timestamp" field to index properly. Here is a simplified sample JSON: { m...
...able , now for trend analysis i want to use time chart command to see number of users per month , however its not working , below is the query for your reference , need help with the query : index=i...
Hello,
How can I write power shell script for running btool command ?
where ever I am directly doing in powershell. That is working fine. But, when I store "C:\Program Files\Splunk\bin\s...
...ultivalue to convert it from one type to another (think something like MB to GB) and in other cases I have to perform a lookup via a range which requires a map command via the inputlookup command (reference...
Is there a way to directly launch a saved search via the scheduler while passing key/value pairs for macro replacement via an API call?
The only place I've seen any reference to macro r...
...cript_test
Is my alert script working? YES. I can run it from the command line, as the svc.splunk user, but when the alert triggers it, nothing happens.
Reference
I have been using the following d...
Just in case it's helpful for anyone, here are some simple commands you can run from Windows PowerShell to uninstall SplunkUniversalForwarder from Windows. This is especially useful if y...