twintproject / twint

An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
MIT License
15.65k stars 2.72k forks source link

Elasticsearch. Could not locate that index-pattern-field (id: user_id) #594

Closed dieguszgz closed 4 years ago

dieguszgz commented 4 years ago

Description of Issue

When I am importing visualizations.json and dashboard.json, after creating the index pattern called 'twinttweets', it appears to me the following error:

'The following saved objects use index patterns that do not exist. Please select the index patterns you'd like re-associated with them. You can create a new index pattern if necessary. After this just to go Dashboard tab and click on Twint Dashboard'

Finally, after importing 'successfully', the error on tittle mentioned ('Could not locate that index-pattern-field (id: user_id)') appers on Dashborad and Visualization tab.

Environment Details

Linux (Ubuntu 18)

dieguszgz commented 4 years ago

I have just added this line in elasticsearch.py file. "user_id": {"type": "long"}, Is there anything needed?

pielco11 commented 4 years ago

Hmm so I guess visualizations.json and dashboard.json are broken now