Hi @maddy30,
What version of elastic are you using?
You may want to check out this related forum post. Here are a few other resources that might be helpful here.
- Customize crawler field values using an ingest pipeline | Enterprise Search documentation [8.12] | Elastic
- Ingest pipelines | Elasticsearch Guide [8.12] | Elastic
- Example: Parse logs in the Common Log Format | Elasticsearch Guide [8.12] | Elastic
Hope this helps!
Jess