Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to run rex commands from CLI mode

$
0
0
I want to run Splunk query from the cmd prompt. It works just fine with basic error search, but when I tried with rex extraction it doesn't recognize the pipe | and rex commands. splunk search "index=apps sourcetype=weblogs | rex field=_raw "Source: (?.*)" | dedup Source | outputtext usexml=false " user admin password changeme

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>