<span style="font-family: Arial, Helvetica, Sans-Serif; font-size: 12px"><div>Philipp,</div>
<div> </div>
<div>Thanks so much for your time and relpy.</div>
<div> </div>
<div>This dawn, before read your email, I worked to implement the URL authentication and it worked like a charm. I am still using querystring instead of custom header field because I have no control over the player. But, the excelent news is, no more rproxy! =)</div>
<div> </div>
<div>And you were right, this way I have more possibilities than before!</div>
<div> </div>
<div>Again, thanks so much and congrats for the awesome job.</div>
<div> </div>
<div>ps: Icecast is so far more efficient than SHOUTcast and a lot websites says they have no big differences, why?</div>
<div> </div>
<div> </div>
<div>Best,</div>
<div>Thiago</div>
<div> </div>
<div style="-webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;-o-user-select: none;user-select: none;"> </div>
<div> </div>
<hr align="center" size="2" width="100%" />
<div><span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><b>De</b>: "Philipp Schafft" <phschafft@de.loewenfelsen.net><br />
<b>Enviado</b>: segunda-feira, 7 de maio de 2018 03:40<br />
<b>Para</b>: subscription@nextdial.com.br, "Icecast streaming server user discussions" <icecast@xiph.org><br />
<b>Assunto</b>: Re: [Icecast] How to log querystring values?</span>
<div> </div>
Good Morning Thiago,<br />
<br />
On Sun, 2018-05-06 at 10:23 -0300, subscription@nextdial.com.br wrote:<br />
> Dear Philipp,<br />
><br />
> Thanks for you reply.<br />
><br />
> My goal is to show in our analytics page segmented data (official apps,<br />
> partner apps, third-party apps, demographic and geo).<br />
<br />
> To do so each app pass some values in the query string (ie: app id,<br />
> user id, lat, lng). And I need to know those values in order to do<br />
> that.<br />
<br />
I would recommend to add those to (a) custom header field(s). You can<br />
then log that by using URL auth. This is to the standards and will also<br />
add more flexibility to the system, such as real time stats.<br />
<br />
If you really, really need to pass the parameters using query string<br />
parameters we could implement a separate logfile for that. That would<br />
keep the main log intact and provide a (probably better) parseable log<br />
for those data. (If you're interested in this option contact me<br />
off-list.)<br />
<br />
<br />
> Today we are using nginx as a reverse proxy to Icecast to get those data<br />
> but it double the cpu/mem usage =(<br />
<br />
using a rproxy is not ideal and should be avoided. :)<br />
<br />
<br />
with best regards,<br />
<br />
<br />
> ----------------------------------------<br />
> De: "Philipp Schafft" <lion@lion.leolix.org><br />
> Enviado: domingo, 6 de maio de 2018 09:30<br />
> Para: subscription@nextdial.com.br, "Icecast streaming server user<br />
> discussions" <icecast@xiph.org><br />
> Assunto: Re: [Icecast] How to log querystring values?<br />
> Dear Mr./Ms. subscription,<br />
><br />
> On Sun, 2018-05-06 at 08:35 -0300, subscription@nextdial.com.br wrote:<br />
> > I need to get some values passed in the querystring request in the log<br />
> > file.<br />
> ><br />
> > Something like that bellow:<br />
> ><br />
> > ie: "GET /radio?id=1 HTTP/1.1" instead of only "GET /radio HTTP/1.1"<br />
> ><br />
> > Do I need to change something in the source and compile? Or there is<br />
> > another way?<br />
><br />
> What exactly is your goal? Maybe you can give us a bit of an<br />
> understanding of the context.<br />
><br />
> Query parameters are to be interpreted by the server, in this case<br />
> Icecast, not external software. Therefore I suspect that there is a<br />
> better solution for your problem.<br />
<br />
--<br />
Philipp Schafft (CEO/Geschäftsführer)<br />
Telephon: +49.3535 490 17 92<br />
<br />
Löwenfelsen UG (haftungsbeschränkt) Registration number:<br />
Bickinger Straße 21 HRB 12308 CB<br />
04916 Herzberg (Elster) VATIN/USt-ID:<br />
Germany DE305133015<br />
</div></span>