Develop naming conventions for knowledge objects
We suggest you develop naming conventions for your knowledge objects when it makes sense to do so. If the naming conventions you develop are followed consistently by all of the Splunk users in your organization, you'll find that they become easier to use and that their purpose is much easier to discern at a glance.
You can develop naming conventions for just about every kind of knowledge object in Splunk. Naming conventions can help with object organization, but they can also help users differentiate between groups of saved searches, event types, and tags that have similar uses. And they can help identify a variety of things about the object that may not even be in the object definition, such as what teams or locations use the object, what technology it involves, and what it's designed to do.
Early development of naming conventions for your Splunk implementation will help you avoid confusion and chaos later on down the road.
Use the Common Information Model
Splunk's Common Information Model provides strategies for normalizing your approach to extracted field names, event type tagging, and host tagging. It includes:
- A list of standard custom fields
- An event type tagging system
- Lists of standard host tags
For more information, see "Understand and use the Common Information Model" in this manual.
Example - Set up a naming convention for saved searches
You work in the systems engineering group of your company, and as the knowledge manager for your Splunk implementation, it's up to you to come up with a naming convention for the saved searches produced by your team.
In the end you develop a naming convention that pulls together:
- Group: Corresponds to the working group(s) of the user saving the search.
- Search type: Indicates the type of search (alert, report, summary-index-populating)
- Platform: Corresponds to the platform subjected to the search
- Category: Corresponds to the concern areas for the prevailing platforms.
- Time interval: The interval over which the search runs (or on which the search runs, if it is a scheduled search).
- Description: A meaningful description of the context and intent of the search, limited to one or two words if possible. Ensures the search name is unique.
|Group||Search type||Platform||Category||Time interval||Description|
Possible saved searches using this naming convention:
Curate Splunk knowledge with Manager
Understand and use the Common Information Model
This documentation applies to the following versions of Splunk® Enterprise: 4.3, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7