Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to create Splunk misp different events on one search result #8161 #212

Closed
burakatabay opened this issue Feb 23, 2022 · 2 comments
Closed

Comments

@burakatabay
Copy link

Hi
I want to create new misp event from splunk.
but I am not able to generate different misp events within a single search.
I try this search,

| makeresults
| eval misp_ip-src = random() % 255 . "." . random() % 255 . "." . random() % 255 . "." . random() % 255, misp_ip-dst =random() % 255 . "." . random() % 255 . "." . random() % 255 . "." . random() % 255 . "," . random() % 255 . "." . random() % 255 . "." . random() % 255 . "." . random() % 255 . "," . random() % 255 . "." . random() % 255 . "." . random() % 255 . "." . random() % 255, source="adenemee" . random()%255 . random()%255
| eval id = random()%255 . random()%255
| makemv delim="," misp_ip-dst
| mvexpand misp_ip-dst
| append
[| makeresults
| eval misp_ip-src = random() % 255 . "." . random() % 255 . "." . random() % 255 . "." . random() % 255, misp_ip-dst =random() % 255 . "." . random() % 255 . "." . random() % 255 . "." . random() % 255 . "," . random() % 255 . "." . random() % 255 . "." . random() % 255 . "." . random() % 255 . "," . random() % 255 . "." . random() % 255 . "." . random() % 255 . "." . random() % 255, source="bdenemee" . random()%255 . random()%255
| makemv delim="," misp_ip-dst
| eval id=random()%255 . random()%255
| mvexpand misp_ip-dst
]
| sendalert misp_alert_create_event param.misp_instance=misp param.title="title" param.description="description" param.distribution=0 param.threatlevel=1 param.analysis=0 param.tlp=TLP_AMBER param.pap=PAP_AMBER param.publish_on_creation=0 param.info=$result.source$ param.unique=$result.id$

Although there are two different unique ids here, 2 different events do not occur.
Can anyone support me ?

@remg427
Copy link
Owner

remg427 commented Feb 26, 2022 via email

@burakatabay
Copy link
Author

Thank you so much for helping :) that's true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants