Hi, I'm using the Journald input in univarsal forwarder to collect logs form journald: https://docs.splunk.com/Documentation/Splunk/9.3.2/Data/CollecteventsfromJournalD. When the data comes, I set the sourcetype dynamically based on the value of the journald TRANSPORT field. This works fine. After that, I would like to apply other transforms to the logs with a certain sourcetypes e.g. remove the logs if the log has a certain phrase. Unfortunately, for some reason, the second transform is not working. Here is the props and configs that I'm using here is my transforms.conf: [set_new_sourcetype] SOURCE_KEY = field:TRANSPORT REGEX = ([^\s]+) FORMAT = sourcetype::$1 DEST_KEY = MetaData:Sourcetype [setnull_syslog_test] REGEX = (?i)test DEST_KEY = queue FORMAT = nullQueue here is my pros.conf: [source::journald:///var/log/journal] TRANSFORMS-change_sourcetype = set_new_sourcetype [sourcetype::syslog] TRANSFORMS-setnull = setnull_syslog_test Any idea why the setnull_syslog_test transform is not working?
... View more