Hello,
So I have to count the number of resulted fields, it doesn't go far than this. for my search I have index=example sourcetype=example source=example, and the goal is to know how many fields are extracted from the results of this search.
Can anyone help please 😄 ?
you can use fieldsummary command:
index=example sourcetype=example | fieldsummary
And count fields using:
index=example sourcetype=example | fieldsummary | table field | stats count
more about fieldsummary here:
fieldsummary - Splunk Documentation
you can use fieldsummary command:
index=example sourcetype=example | fieldsummary
And count fields using:
index=example sourcetype=example | fieldsummary | table field | stats count
more about fieldsummary here:
fieldsummary - Splunk Documentation
Thank you very much it's really helpful