Hi all,
i have an input config which launch the exec plugin,
the program launched generates json data output , how can I put them in a index on ES?
thank you, sorry for my English
Hi all,
i have an input config which launch the exec plugin,
the program launched generates json data output , how can I put them in a index on ES?
thank you, sorry for my English
You should be able to use the json codec to have the command output parsed as JSON and the usual elasticsearch output to send the events to ES.
input {
exec {
command => "..."
codec => "json"
}
}
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.