# New blog: 🎄 Twelve Days of SMT 🎄 - Day 6: InsertField II

**URL:** <https://forum.confluent.io/t/new-blog-twelve-days-of-smt-day-6-insertfield-ii/364>\
**Category:** Kafka Connect\
**Created:** [15 December 2020 16:18 UTC](https://forum.confluent.io/t/new-blog-twelve-days-of-smt-day-6-insertfield-ii/364 "2020-12-15T16:18:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rmoff/32/3_2.png) [@rmoff](https://forum.confluent.io/u/rmoff)\
**Post date:** [15 December 2020 16:18 UTC](https://forum.confluent.io/t/new-blog-twelve-days-of-smt-day-6-insertfield-ii/364/1 "2020-12-15T16:18:24Z")

</div>

We kicked off this series by seeing on day 1 how to use InsertField to add in the timestamp to a message passing through the Kafka Connect sink connector. Today we’ll see how to use the same Single Message Transform to add in a static field value, as well as the name of the Kafka topic, partition, and offset from which the message has been read.

" transforms " : " insertStaticField1 " ,

" transforms.insertStaticField1.type " : " org.apache.kafka.connect.transforms.InsertField$Value " ,

" transforms.insertStaticField1.static.field " : " sourceSystem " ,

" transforms.insertStaticField1.static.value " : " NeverGonna "

* * *

**Read more:** [🎄 Twelve Days of SMT 🎄 - Day 6: InsertField II](https://rmoff.net/2020/12/15/twelve-days-of-smt-day-6-insertfield-ii/)

---

<div class="post-metadata">

**Author:** ![rmoff](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.confluent.io/rmoff/32/3_2.png) [@rmoff](https://forum.confluent.io/u/rmoff)\
**Post date:** [9 February 2021 13:29 UTC](https://forum.confluent.io/t/new-blog-twelve-days-of-smt-day-6-insertfield-ii/364/2 "2021-02-09T13:29:16Z")

</div>


