You can do all sorts of reformatting through the SQL provided in the Inputs in DB Connect. So change all the formats like timestamp, field values based on case statement etc while providing the query in database inputs.
Below is my query that I use for getting SCOM ACS logs form the SCOM ACS DB through DB Connect. Note all sorts of data formatting done through convert and case commands:
SELECT
convert(varchar,dvA.CreationTime,120) + ' +0000' AS CreationTimeUTC,
dvA.EventId,
dvA.EventMachine AS Server,
dvA.TargetUser AS Username,
CASE dvA.ClientDomain
WHEN 'n/a' THEN PrimaryDomain
ELSE dvA.ClientDomain
END AS Domain,
CASE dvA.String02
WHEN 'n/a' THEN NULL
ELSE dvA.String02
END AS SourceMachine,
dvA.CollectionTime
FROM
AdtServer.dvAll5 AS dvA
WHERE
dvA.EventId IN (4624,4648,4672,4634,4737,4740,4625,4767,4771,4738,644) AND CreationTime > convert(datetime, '2016-10-03 16:00:37.207')
... View more