Page MenuHomeDevCentral

Serve /servers-log/all.json API request
ClosedPublic

Authored by dereckson on Feb 16 2018, 17:26.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 07:22
Unknown Object (File)
Tue, Nov 12, 20:25
Unknown Object (File)
Fri, Nov 8, 14:06
Unknown Object (File)
Fri, Nov 8, 14:01
Unknown Object (File)
Fri, Nov 8, 14:01
Unknown Object (File)
Fri, Nov 8, 14:00
Unknown Object (File)
Fri, Nov 8, 13:43
Unknown Object (File)
Fri, Nov 8, 13:12
Subscribers
None

Details

Summary

Map this path to the log maintained by the servers log microservice.

Replicate configuration for area51.

Test Plan

Browse both for api and api51 /servers-log/all.json

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
dereckson added inline comments.
roles/webserver-content/org/nasqueron/api.sls
37

Should be the user running the API

Use /tmp, as user directories could be at 700 in this configuration

dereckson marked an inline comment as done.

Creates /srv/api/data/servers-log-all.json or ensure it has the good username (defined in D1312)

This revision is now accepted and ready to land.Feb 16 2018, 20:48
This revision was automatically updated to reflect the committed changes.