S-elk
(S-elk)
March 24, 2022, 4:19pm
1
hello!
i want to join all the tags field values into one new field?
can i do that with join mutate filter ?
if not, how can i do that ?
example :
tags = ["1","2","3"]
new_field = "123"
thanks in advanced!
p.d. is my first post. if i did something wrong im sorry.
Badger
March 24, 2022, 4:51pm
2
I would do that in ruby
ruby {
code => '
tags = event.get("tags")
if tags.is_a? Array
event.set("newfield", tags.join)
end
'
}
S-elk
(S-elk)
March 25, 2022, 10:29am
3
Wow thank you so much!! thanks for the speed of response!
system
(system)
Closed
April 22, 2022, 10:29am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.