Hello
I have a problem with the creation of the config file and when launching the command.
I have this error
"do was unexpected."
=> do était inattendu.
Command line : C:\Program Files\Elastic\logstash\bin\logstash -f logstash.conf
<
input {
csv {
separator => ";"
columns => [Code société";"Actif";"Somme de Feu";"Catégorie de prix";"Langue";"Code tiers";"Code titre";"Titre";"'Clients'[Nom]";"Prénom";"Compl. adresse 1";"Compl. adresse 2";"Code postal";"Rue";"No rue";"Localité";"Pays";"Téléphone";"Téléphone portable";"Fax";"Email";"Statut du contrôle de la poste";"'Table représentants'[Nom]";"Code dépôt";"PICOD";"PINO";"No facture";"Date structurée - Année";"Date structurée - Trimestre";"Date structurée - Mois";"Date structurée - No jour";"Référence";"Désignation";"Code opération";"OP";"SERIE";"Somme de Quantité";"Somme de Quantité facturée";"Devise";"Somme de Montant HT ligne";"Code HT/TVA";"Code mode de règlement";"Mode de règlement";"Code mode de transport";"Mode de transport";"TICOD";"Etat intégration"]
]
}
}
output {
elasticsearch {
hosts => "http://localhost:9200"
index => "mavina"
}
csv {
separator => ";"
columns => ["Code société";"Actif";"Somme de Feu";"Catégorie de prix";"Langue";"Code tiers";"Code titre";"Titre";"'Clients'[Nom]";"Prénom";"Compl. adresse 1";"Compl. adresse 2";"Code postal";"Rue";"No rue";"Localité";"Pays";"Téléphone";"Téléphone portable";"Fax";"Email";"Statut du contrôle de la poste";"'Table représentants'[Nom]";"Code dépôt";"PICOD";"PINO";"No facture";"Date structurée - Année";"Date structurée - Trimestre";"Date structurée - Mois";"Date structurée - No jour";"Référence";"Désignation";"Code opération";"OP";"SERIE";"Somme de Quantité";"Somme de Quantité facturée";"Devise";"Somme de Montant HT ligne";"Code HT/TVA";"Code mode de règlement";"Mode de règlement";"Code mode de transport";"Mode de transport";"TICOD";"Etat intégration"]
]
}
}
output {
elasticsearch {
hosts => "http://localhost:9200"
index => "mavina"
}
OK,
Thanks a lot for your help.
What test can I do?
Java : Picture
I installed JRuby because I had a message "He couldn't find jRuby"
rem ### 3: set jruby
set JRUBY_BIN="%LS_HOME%\vendor\bundle\jruby-9.2.11.1"
if not exist %JRUBY_BIN% (
echo "could not find jruby in %LS_HOME%\vendor\bundle\jruby\2.5.0\bin\jruby" 1>&2
exit /b 1
)
If you need other parameters, I am at your disposal.
Greetings
Guy Muller
Hello, I reinstall everything, Elastic, logstash, I have a new error
Error: unable to find or load the main class Files\Elastic\logstash-7.6.2\logstash-7.6.2\logstash-core\lib\jars\animal-sniffer-annotations-1.14.jar;C:\Program
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.