I create a .HAR file that shows all the interactions of Selenium WebDriver and how much time it took to be processed. I need to put that .HAR file (it is in JSON) to ElasticSearch TimeSeriesDataBase - TSDB and then connect it to Grafana as a graph.

I have a problem putting the .HAR file into ElasticSearch. It might be needed to be converted to .JSON.
by (171 points)
What problem are you facing. Can you paste the error log by replying to this comment?
by (26 points)
I meant, that I don't know how to put the .HAR file in ElasticSearch.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

by (171 points)
0 votes

Have you tried below command?

$ curl -s -XPOST localhost:9200/_bulk --data-binary @YourHARFilePath

Note: @is important before the file path


Hope that helps!