Hi-
I think you may be able to use the experimental plugin 'healthchecks' for this:
https://github.com/apache/trafficserver/tree/master/plugins/experimental/healthchecks

miles

On Mon, Jun 9, 2014 at 7:00 PM, Jason Strongman
<[email protected]> wrote:
> Outside of building a plug-in, does ATS have a native facility which allows
> for reading local system files? I have a file residing in my system log
> directory that I want to access via ATS.
>
> I was thinking something along the lines of the below remap rule, although I
> tried and didnt seem to work.
>
>         map http://mydomain.com/file.log file:///var/log/file.log
>
>
> If using the header rewrite plugin,  not sure how I could expand the
> conditional access rule to expose local files either.
>
> Setting a specific body_factory directory against my map rule partially
> works, although I have to reload ATS each time for my updated logs to be
> read.
>
>
>

Reply via email to