Add section found in QA log server, SC-2522
This part was only present in QA (log.qa.sveidas.se) for some reason. So will try to add it for test & prod as well to make them look the same. Old file: log.qa.sveidas.se/overlay/etc/telegraf/telegraf.conf.d/50-http2.conf
This commit is contained in:
parent
49da90c1db
commit
d3c7d9e13a
1 changed files with 10 additions and 0 deletions
|
@ -14,6 +14,16 @@
|
|||
omit_hostname = false
|
||||
[[inputs.system]]
|
||||
|
||||
<% if @server_type == 'log' -%>
|
||||
[[inputs.http_listener_v2]]
|
||||
service_address = "0.0.0.0:9999"
|
||||
methods = ["POST"]
|
||||
data_format = "json"
|
||||
json_name_key = "tp"
|
||||
json_time_key = "ts"
|
||||
json_time_format = "2006-01-02 15:04:05"
|
||||
json_timezone = "Local"
|
||||
<% end -%>
|
||||
[[inputs.tail]]
|
||||
files = ["/var/log/eidas_stats.log"]
|
||||
data_format = "json"
|
||||
|
|
Loading…
Add table
Reference in a new issue