Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add server name as field in the doc #1000

Open
ninorito opened this issue Aug 26, 2020 · 3 comments
Open

Add server name as field in the doc #1000

ninorito opened this issue Aug 26, 2020 · 3 comments
Labels

Comments

@ninorito
Copy link

Hello,

We would like to use fscrawler on all our fileservers (around 100) to see the metrics about the fileshare size.

I don't see an option to add in the doc the name of the server where the fscrawler is running.

I'm thinking of launching locally on each server the crawler and send the datas to the same index. I need a way to find on which server the data are.

Are you planning to add this field or a way to do it ?

Now I'm using ingest pipeline to add this field but I need to create one per server....

Thank you

@ninorito ninorito added the feature_request for feature request label Aug 26, 2020
@dadoonet
Copy link
Owner

dadoonet commented Sep 2, 2020

That could be a good addition. I believe we should add a similar feature that *Beat agents have which is a way to add any fixed field within the configuration file.
It's doable using the REST interface but I think we should expose a similar feature using the job configuration file.

@dadoonet dadoonet added this to the 2.7 milestone Sep 2, 2020
@dadoonet
Copy link
Owner

dadoonet commented Sep 2, 2020

Congrats BTW to have opened issue number 1000 😄

@janhoy
Copy link
Contributor

janhoy commented Sep 6, 2020

See #1003 which is a flexible way of handling such custom requests which there will be 100s of in the future. It allows you to e.g. write a HostNameProcessor which fetches host name and adds it in a custom field in the document.

@dadoonet dadoonet removed this from the 2.7 milestone Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants