FEATURE REQUESTS - Search IoCs using pagination
Closed this issue · 5 comments
pietrogu commented
Hi,
when I import from MISP a big number of IoCs, often I receive a Timeout.
Could it be possible to give the possibility to make the search using the pagination feature provided by MISP?
Thanks,
Pietro
remg427 commented
Hi
Thank you for using misp42
This is already possible just use limit= and page= to retrieve paginated results
Default limit is 1000 and default page is 1
On splunk you may use
|mispgetioc limit=10000 page=1
| append [ |mispgetioc limit=10000 page=2]
| append [ |mispgetioc limit=10000 page=3]
Hope it helps
Best regards
Remi
--
Sent with K-9 Mail.
pietrogu commented
Thank you!
pietrogu commented
Hi,
sorry if I reopen, is there maybe something that let this to without knowing how much page are needed?
remg427 commented
Hi,
to be tested but I think using | misprest and in json_request returnFormat=count will return the number of results
remg427 commented
Loop on pagination was implemented for mispfetch in version 4.3.2