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

sending events from input based on regex to metrics

$
0
0
I have created a setup where from an input based on a regex some of the events are sent to a specific index with changed source type. It is working nicely with regular indexes, but I can not get it working with metrics based indexes. What could be wrong? props.conf [csv] TRANSFORMS-indst = change_index,change_sourcetype inputs.conf [udp://514] connection_host = ip sourcetype = csv transforms.conf [change_index] REGEX = (?i) error DEST_KEY = _MetaData:Index WRITE_META = true FORMAT = metrics_index [change_sourcetype] REGEX = (?i) error DEST_KEY = _MetaData: WRITE_META = true DEST_KEY = MetaData:Sourcetype FORMAT = sourcetype::metrics_sourcetype

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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