Problems with Lab 3 in Lab Guide: Sentiment Analysis and Brand Monitoring

Hello,

I am working on lab 3 in Sentiment Analysis and Brand Monitoring.
Until Lab 3 question 3 everythin gs is clear. But In Lab 3 question 3 there is no mentioning about starting the lab3.conf.

So I started the lab3 configuration myself with ./logstash-6.3.1/bin/logstash -f pipelines/lab3.conf.
The logstash runs, but in every document it tries to enrich there are errors:

Twitter messages come in, but no sentiment or sentiment score is added:

I have floowed the lab guide point by point. Seems like something is wrong in the python code.

Any help would be great.

Also, I would like to do the traiing again, but there is no dataset provided to run the labs locally?

Thanks,
Patrick

Hello Patrick,

The problem is coming from the python dependency. In order to make it work updates the requirement.txt file. It should look like the following:

flask>=1.0.0
pycparser==2.17
flask-wtf
requests
nltk==3.3.0
numpy==1.15.0
textblob==0.15.0

Once you have updated the requirement.txt file, delete the virtual env and recreate it and reinstall the dependencies.

We don't provide any dataset with this training, but you can easily replicate the environnement by downloading logstash/elasticsearch and Kibana.

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