Logstash cheat sheet: Difference between revisions
Jump to navigation
Jump to search
Line 60: | Line 60: | ||
それか無視するか | それか無視するか | ||
<syntaxhighlight lang="javascript" enclose="div"> | <syntaxhighlight lang="javascript" enclose="div"> | ||
# For Beat and LSF compatibility | # For Beat and LSF compatibility | ||
if [beat][name] { | if [beat][name] { | ||
# Remove host metadata | # Remove host metadata | ||
mutate { | mutate { | ||
remove_field => [ "[host]" ] | remove_field => [ "[host]" ] |