Add additional data to the documents #2118
Answered
by
dadoonet
cooperspencer
asked this question in
Q&A
|
I would like to add the hostname to the documents sent to Elasticsearch. Is that possible? |
Answered by
dadoonet
Jul 30, 2025
Replies: 1 comment 5 replies
|
Could you share what your fscrawler settings files are looking like? I mean the But anyway, you might want to use the external:
hostname: "server001"That should be added as See more at https://fscrawler.readthedocs.io/en/latest/admin/fs/tags.html |
5 replies
Answer selected by
cooperspencer
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @cooperspencer
Could you share what your fscrawler settings files are looking like? I mean the
fs.urlsetting specifically or if you are using FTP or SSH or anything else.But anyway, you might want to use the
.meta.ymlfile, which can be added in all the dirs you are scanning:That should be added as
external.hostnamefield. Which you can rename using an ingest pipeline.See more at https://fscrawler.readthedocs.io/en/latest/admin/fs/tags.html