Knowledge Management

Tag from cli or search?

swdonline
Path Finder

Is it possible to auto-tag a field from the results of a search from the cli or the search bar? Something like:

"search color=scarlet OR color=crimson | tag tag::color=red"

Tags (1)
0 Karma

Kate_Lawrence-G
Contributor

Hi,

It's not possible to do it automatically you can do it through the Splunk Web interface:

http://docs.splunk.com/Documentation/Splunk/latest/User/TagAndAliasFieldValues#How_to_tag_and_alias_...

Also if you are running 4.3 you can do some dynamic tagging from the event viewer data:

See http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Tagthehostfield

Thanks,

Kate

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...