resource "graylog_grok_pattern" "datestamp" {
name = "DATESTAMP"
pattern = "%%{DATE}[- ]%%{TIME}"
}
Note that currently this resource doesn't support content packs.
And if you use the sequence %{
, you have to escape it.
The interpolation and directive introductions are escaped by doubling their leading characters. The
${ sequence is escaped as $ ${ and the %{ sequence is escaped as %%{.
name | type | description |
---|---|---|
name | string | |
pattern | string |
Nothing.
Nothing.