Why _source host = 'localhost' , that's not my machine's host name

(Mianyamian) #1

my logstash output result :
"path" => "/var/log/log_2018-3-117_submit.log",
"@version" => "1",
"status" => 0,
"host" => "localhost",
"@timestamp" => 2018-03-09T03:04:41.672Z,
"type" => "submit_log"

how can i set my host and use my machine host.

(Magnus B├Ąck) #2

What kind of input produced this event? What does your /etc/hosts look like?

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.