Skip to content
Elasticsearch feeder script for CSV files produced by Dashcommand
Perl
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
elastic
sample
LICENSE
README.md
dashcommand-csv-parser.pl

README.md

balagetech-dashcommand-parser-obd-elasticsearch

Elasticsearch feeder script for CSV files produced by Dashcommand.

Usage

$ perl dashcommand-csv-parser.pl -d <Data log.csv> -e <elasticsearch ingest node>:9200 2>/dev/null

Notes

  • It is written in Perl and uses the Search::Elasticsearch library.
  • The @timestamp is calculated from the name of the file and the values of 'timestamp' records from the CSV file. Apparently this is how frame timestamps are stored.
  • The stderr is muted because of trace messages overwhelming the console output.
  • The timezone of dates are currently hardwired to 'Europe/Budapest'. Should you need a different timezone then change it in advance.

Elasticsearch

The Elasticsearch index template mapping and other saved objects like visualizations and dashboards expect version 7.0 or above.

You can’t perform that action at this time.