Hi,
I am configuring a logstash forwarder where there is a log created by my own application. This log has no relation to any syntax I have seen in several examples (syslog, apache, etc). So, when one is working with a very customized log file, which value should be used for the the "fields type" value? In fact, where I can find the list of all the possible values for the fields type variable?
This is my config file:
/etc/logstash-forwarder
{
"network": {
"servers": [ "192.168.0.1:5000" ],
"timeout": 15,
"ssl ca": "/etc/pki/tls/certs/logstash-forwarder.crt"
},
"files": [
{
"paths": [
"/var/log/my_own_log.log"
],
"fields": { "type": "VALUE???" }
}
]
}
Thank you for any hint!