Replies: 3 comments 37 replies
-
At the end, the problem is with the HTTP Push Source...
And the describe of the rule:
Thanks in advance for your help. |
Beta Was this translation helpful? Give feedback.
-
So I did many tests for this, and every test suggests that eKuiper HTTP Push Source is lossing events randomly. The tests: Event pipelines that I created for the same DNS events source:
On every case, FluentBit send all the events perfectly, but not in the case of eKuiper HTTP Push Stream Source, which missed several. To compare the received events in both eKuiper Sources, I did DNS queries to this domains:
As you can see, for the eKuiper HTTP Push Source, in the first case, domains starting with marking, I didn't receive any events (to eKuiper MQTT Source I received all the events), and for the second case, domains starting with marketing, I only received one event, instead of the six that I received with eKuiper MQTT Source. So, it is clear that eKuiper HTTP Push is loosing events, but I don't know which other tests I can do to provide more troubleshooting information. I'm sure there isn't a problem on FluentBit's side, simply because it is sending the same DNS events to OpenObserve and Parseable using the same output plugin, HTTP Output, without any problem. @ngjaying, let me know If I can provide more information about the issue. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
[ ORIGINAL DESCRIPTION, THAT FINALLY IS NOT THE PROBLEM, SEE MY NEXT COMMENT]
Hi everyone,
I'm trying to match a field, qname, ended with ".me" or ".xyz" or ".biz", with SQL LIKE operator (reviewed this doc to know how to use LIKE, https://ekuiper.org/docs/en/latest/sqls/query_language_elements.html#where)
I created a rule:
SELECT * FROM dns WHERE qname LIKE "%.me" OR qname LIKE "%.xyz" OR qname LIKE "%.biz"
And the rule has sink to a file, but anything is being written to the file.
For example, my expectation is that this log is being captured by the rule:
{"query_type":"AAAA","source_ip":"10.11.0.45","tag":"dns_detections_uncommon_TLDs","timestamp":"Oct 31 11:09:35","qname":"testing.me"}
Do I need to scape the dot using LIKE? How? Or why is not working?
Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions