RousselTMLEARNING

TP · OpenSearch: from discovery to expertise

Lab: Ingest pipeline and Data Prepper

What you will learn in this TP
  • Create and simulate a pipeline
  • Deploy Data Prepper
  • Type fields correctly

Introduction #

What you will learn in this section
  • Create and simulate a pipeline
  • Deploy Data Prepper
  • Type fields correctly

Context. Your logs arrive poorly structured. You normalize them first inside the cluster, then with a dedicated collector.

Prerequisites: the previous lab  ·  Estimated time: 45 min

Clean, well-typed data.

Setup #

Guided steps, with their solution.

  1. 1. Create and simulate a pipeline

    Why? _simulate avoids damaging data.

    Create the pipeline, then test it without indexing anything.
  2. 2. Apply it

    Why? The pipeline is chosen at write time.

    Reindex the batch of the previous lab with the pipeline, and find the document of user alice.
  3. 3. Prepare the typing

    Why? Without a template, clientip would be text and network search would fail.

    Create the web-logs template.
  4. 4. Deploy Data Prepper

    Why? Processing leaves the cluster and relieves its nodes.

    Write pipelines.yaml, add the service and start it.
  5. 5. Send and check

    Why? Network search proves that the ip type is in place.

    Send two log lines, wait a few seconds, then search addresses in 10.0.0.0/8.

Difficulty level : ●●○○○ (2/5)

My progress

  • ⏱ Estimated time : ≈ 45 min

Sign in to track your progress and take notes. Sign in

💬 Ask a question

Recommended Articles

Query DSL et agrégations avancées Elasticsearch, avec ES|QL

Écrire des requêtes Elasticsearch avancées : bool, filter et score, nested, function_score et per...

Exploring data in OpenObserve: SQL, PromQL and VRL

Search with SQL, query metrics with PromQL, optimize a stream (indexes, partitions, retention) an...

Kibana : rôle, installation et premiers pas

Ce qu'est Kibana dans la suite Elastic, comment l'installer avec Elasticsearch (start-local, Dock...

Métriques Dynatrace : Data Explorer, sélecteurs de métriques, API et tableaux de bord

Exploiter les métriques dans Dynatrace : métriques intégrées et personnalisées, Data Explorer, sy...

Fluent Bit : les outputs (sorties), routage et fiabilité de l'envoi

Envoyer les données de Fluent Bit : routage par Match et Match_Regex, sorties Loki, Elasticsearch...

Installing OpenSearch and OpenSearch Dashboards

Install OpenSearch with Docker Compose or the archive: initial password, vm.max_map_count, demo c...

Indexing and searching in OpenSearch: mapping, DSL, PPL and SQL

Declare an index template, index with bulk, search with the Query DSL, aggregate and query with P...

OpenSearch in production: ISM, backups, security and best practices

Automate the lifecycle with ISM, back up with snapshots, manage roles and size an OpenSearch clus...

Fluent Bit : les inputs (entrées) du pipeline en détail

Tout sur les inputs de Fluent Bit : rôle des tags, lecture de fichiers avec tail (positions, rota...

Support us

♥ SUPPORT US

Support RousselTM Learning

Courses, articles, labs and certificates stay free with no intrusive ads. A voluntary contribution, of any amount you choose, pays for hosting, lab environments and new content.

Contribute with PayPal Any amount · card or PayPal accountLearn more
QR code PayPal
Or scan this QR code with your phone

Thank you, every contribution counts!