Graylog API not returning total messages


(Raju) #1

Hi Team,

I am not getting full messages when I triggered through curl via API. Total messages I have received when i searched through graylog UI is around 45k messages and when I triggered the same through curl i am not getting even 1k messages. Is there any default limit for API?

Through graylog UI

http://hostip:9000/search?rangetype=absolute&fields=message%2Csource&width=1366&highlightMessage=&from=2018-10-01T04%3A00%3A00.000Z&to=2018-11-16T05%3A00%3A00.000Z&q="send+email+reference+id+%3A%3A"+AND+message%3A"l8E19qMPOdKQZIKXzW3oRRlC1mmFzLoO"

Through Curl
curl --user uname:passwd -H ‘Accept: application/json’ -X GET “http://hostname:12900/search/universal/absolute?query=“send%20email%20reference%20id%20%3A%3A”%20AND%20message%3A"l8E19qMPOdKQZIKXzW3oRRlC1mmFzLoO"&from=2018-10-01%2000%3A00%3A00&to=2018-11-16%2023%3A59%3A59&fields=message%2Csource%2Ctag


(system) #2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.