Trying out Ingest User Agent Pipeline Plugin with ES5x

0

Problem Statement: Converting the useragent string to Human Readable parsed User Agent ( Browser version + OS ).

Tools and Tech: Python, Elasticsearch

Github:

Ingest pipeline conf

Py Client to setup and run test: https://github.com/jkdihenkar/es_ingest_ua_test/blob/master/IngestUserAgent.py

Test sample input data: https://github.com/jkdihenkar/es_ingest_ua_test/blob/master/sample_dataset

Test Sample output data: https://github.com/jkdihenkar/es_ingest_ua_test/blob/master/sample_output.txt

Knowledge base:

  • Details on ES Ingest pipelines in general: https://www.elastic.co/guide/en/elasticsearch/reference/master/pipeline.html
  • More details on user agent ingest pipeline: https://www.elastic.co/guide/en/elasticsearch/plugins/current/ingest-user-agent.html
  • Using ingest user agent pipeline: https://www.elastic.co/guide/en/elasticsearch/plugins/current/using-ingest-user-agent.html