Hello, I would like to Slipt a Tag in several parts. I mean, I have the Tag "Comment" = "[Module12] Statblablabla" I would like to divide it in other two Tags "Module" = Module12 and "Status" = Statblablabla. But with the Tag "Coment" preserved, I mean, at the end I would have 3 Tags.
This is the line in my patterns file:
COMMENT_MESSAGE (?m) [%{GREEDYDATA:Module}]\ %{GREEDYDATA:Status}
And I have tried
match => [
"Comment", "%{COMMENT_MESSAGE}"
]
What am I doing wrong? Because I only get Comment Tag, but not the other two.
You didn't format the pattern file line as code so things were probably stripped away, but the problem is probably the space before the opening square bracket. This works:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.