Replies: 3 comments 3 replies
-
I can't see any spaces in your values...
The key is |
Beta Was this translation helpful? Give feedback.
2 replies
-
You can use Modify filter with Set
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Just tested No spaces would not work with it, you can use _ to separate
words or use lua
Filter Configuration
```
[FILTER]
Name lua
Match *
Script add_record.lua
Call add_record_function
```
Lua Code
```
function add_record_function(tag, timestamp, record)
-- Check if the nested keys exist
record["custome_record"] = "Any text you need :)"
return 1, timestamp, record
end
```
Hope this will help.
…On Tue, Aug 20, 2024 at 10:48 PM Alejandro Guida ***@***.***> wrote:
Hi @anasnaguib <https://github.com/anasnaguib> ,
But can you set field content with spaces, for example for mitre_id, use
"T1071 004"?
—
Reply to this email directly, view it on GitHub
<#7875 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA464TGIXEF5SF64YSB5VVDZSPBVLAVCNFSM6AAAAABM2Y7IMCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANBQGA4TGNQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
A question about Record Modifier filter: is it possible to add a field with a value with spaces?
For example, like this:
I tried with the value of the field between ' ' and " " too but is not working.
Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions