---
title: Examples
description: See function examples using VRL to add, change, or delete fields in logs. Try them out in the VRL playground at playground.vrl.dev.
---

# Examples for function

## add new field

```
.new_field = "abc"
.
```

## change field value

```
.old_field = "new_value"
.
```

## drop field

```
del(.old_field)
.
```

Playground: [https://playground.vrl.dev/](https://playground.vrl.dev/)
