Hi helenashton,
So, based on the comment you want to set a TZ for a specific host for a certain sourcetype.
This is un-tested so I'm not sure if it will work, but this is what you can try.
props.conf
[YourSourceType]
TRANSFORMS-001_YourSourceType_set_TimeZone = YourSourceType_set_TimeZone
transforms.conf
[YourSourceType_set_TimeZone]
SOURCE_KEY = MetaData:Host
REGEX = MyServerNameToSetTZ
DEST_KEY = MetaData:TZ
FORMAT = UTC
This will use the transform on YourSourceType and the REGEX should match the hostname. The DEST_KEY sets what will be re-written and the FORMAT will be the new value used in this field.
Hope this makes sense and helps ...
cheers, MuS
... View more