Member since
11-18-2023
2
Posts
0
Kudos Received
0
Solutions
11-20-2023
12:52 AM
Thank you @SAMSAL superstar!
... View more
11-18-2023
10:54 PM
After using JOLT for many years now I still find myself fumbling my way into solutions, I am however stuck on the problem of how to selectively remove values from a JSON array. The scenario is that I am trying to solve for is that I want to wholly remove any values in the array whereby there is an equals "=" or really any "special" character. Here is the example input: {
"tags": [
"misp-pattern=\\\"Phishing - T1566\\\"",
"circl:incident-classification=\\\"phishing\\\"",
"IDS"
]
} and the output should be; {
"tags": [
"IDS"
]
} For those interested I am trying to transpose tags from MISP (Threat Intel platform) and under certain conditions it inserts some horrible entries I want to wholly remove them. I understand I can do this in a few steps by extracting and "recasting" this back into JSON however I need to do it via JOLT
... View more
Labels:
- Labels:
-
Apache NiFi