FYI, I’ve been working with one of the coders working on Telefrag and the 
following code is working beautifully so far: 
https://github.com/influxdata/telegraf/pull/11999 
<https://github.com/influxdata/telegraf/pull/11999> 

-- Djerk

> On 1 Oct 2022, at 10:31, Djerk Geurts <dj...@maizymoo.com> wrote:
> 
> 
>> On 1 Oct 2022, at 07:28, Otto Moerbeek <o...@drijf.net 
>> <mailto:o...@drijf.net>> wrote:
>> 
>> The protobuf streams add a framing header of two bytes of length per 
>> protobuf message.
>> The receiving side has to take that into account.
> 
> I have no idea if it does as the Telegraf xpack_protobuf input doesn’t have 
> that many options to configure things. Processing after the input has been 
> accepted, sure. But I’m not aware of a way to strip header bytes at the input.
> 
>> The dnstap streams use the framestream format. In the recursor, they
>> are only implented to report on outgoing queries and their replies though,.
> 
> Pdns-recursor here and only interested in logQueries, which is configurable 
> like so:
> 
> -- RPZ query logging
> protobufServer("127.0.0.1:8000", {
>   taggedOnly=true,
>   logQueries=true,
>   logResponses=false,
>   exportTypes={'A', 'AAAA', 'CNAME', 'MX', 'NS', 'PTR', 'SPF', 'SRV', 'TXT'}
> })
> 
> -- Djerk

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to