tremor-runtime icon indicating copy to clipboard operation
tremor-runtime copied to clipboard

User-agent extractor/function

Open darach opened this issue 2 years ago • 10 comments

Describe the problem you are trying to solve

As a user, I would like an extractor/function to dissect HTTP user agent headers

Describe the solution you'd like

Something along the lines of logstash's user-agent plugin: https://www.elastic.co/guide/en/logstash/current/plugins-filters-useragent.html

darach avatar Feb 24 '22 09:02 darach

Should this perhaps rather be a tremor function instead of a extractor? We do support all the needed logic already and can avoid adding one-of-a-kind extractors this way.

Licenser avatar Feb 24 '22 09:02 Licenser

Yep - a function would be fine too - updating issue

darach avatar Feb 24 '22 09:02 darach

There are many standard headers that we could have util functions for - like repeated headers, content-type/mime, accept ...

darach avatar Feb 24 '22 09:02 darach

I love that idea, a http module with the common logic would be absolutely great!

Licenser avatar Feb 24 '22 09:02 Licenser

And it would make for great first issues too :D

mfelsche avatar Feb 24 '22 09:02 mfelsche

Each connector should probably have its own module of utilities - it worked well for otel ...

darach avatar Feb 24 '22 09:02 darach

Does this problem still need to be solved? I'd like to try it out if I can.

tobehardest avatar Mar 30 '23 16:03 tobehardest

Heya,

yes it does and it should be a good issue to start with, I'll assign it to you, feel free to hop by https://chat.tremor.rs if you need any help or pointers :)

Licenser avatar Mar 31 '23 11:03 Licenser

heya @tobehardest do you need any help from us?

Licenser avatar Apr 04 '23 10:04 Licenser

unassigning this again due to lack of response

Licenser avatar Apr 06 '23 08:04 Licenser