|
I am trying to change the sourcetype on the events from a dataset based on certain fields in the dataset that is currently being added using a scripted input. This is what I have currently: props.conf
transforms.conf
The files are currently located in etc/apps/appname/local. I dont see this transformation having any effect. The event would look something like: 2011-06-01 20:41:13 PDT timestamp=1306986073 field1=value1 location=testlocation Any idea what I may be missing? |
|
I believe that your DEST_KEY value isn't valid....keys are case-sensitive and MetaData:Sourcetype is the correct value, not MetaData:SourceType From: $SPLUNK_HOME/etc/system/README/transforms.conf.spec *KEYS:*
queue : Specify which queue to send the event to (can be parsingQueue, nullQueue, indexQueue). _raw : The raw text of the event. _done : If set to any string, this represents the last event in a stream. _meta : A space-separated list of metadata for an event. _time : The timestamp of the event, in seconds since 1/1/1970 UTC. MetaData:FinalType : The event type of the event. MetaData:Host : The host associated with the event. The value must be prefixed by "host::" _MetaData:Index : The index where the event should be stored. MetaData:Source : The source associated with the event. The value must be prefixed by "source::" MetaData:Sourcetype : The sourcetype of the event. The value must be prefixed by "sourcetype::" |