PDF download Download Article PDF download Download Article

You can simultaneously search through Slack’s chat logs and file uploads for your team from a single search bar within the app. To utilize basic search, open the search field in the upper right and enter a search to see slack’s suggestive search results. You can further refine your search by choosing the “Files” or “Messages” column, or use specific search modifiers to further narrow down your results to specific users, channels, timestamps, or more. Keep in mind, with the free service, Slack will only retain up to 10,000 of your most recent messages for search. [1]

Part 1
Part 1 of 2:

Using Basic Search Functions

PDF download Download Article
  1. If you do not already have it, you can get the app for multiple desktop and mobile platforms at https://slack.com/downloads .
  2. Enter your team domain and press “Continue”. Then, enter your email and password and press “Sign in”.
    • The team domain is setup by the team administrator and is formatted like: [teamname].slack.com
    Advertisement
  3. This is indicated by the magnifying glass icon and is located in the upper right corner of both the mobile and desktop apps.
  4. As you type result and refinement suggestions will appear below the search.
  5. This will jump to its location in the chat.
  6. This is located at the top of the search results and will display only files uploaded or shared to Slack in the results.
    • You can press “Messages” to switch back to searching through chat messages (this is selected by default)
  7. This is located at the top of the search results and will prioritize newer messages.
    • You can press “Relevant” to switch back to the best matches for your search.
    • These buttons are located at the top of the keyboard on mobile.
  8. Press your team name (upper left corner) to open the menu, then go to “Preferences > Search”. Add channels into the “Never Show Search From These Channels” field. [2]
    • On mobile you tap the “Slack” icon in the upper left to open the menu.
    • These channels can be removed from the omission list by pressing the “x” on its name in the field.
  9. If you want to search without selecting the search field, you can also type “/s” and then your search right into the chat bar. This will use whatever search settings you have set in your query and is a great tool for quickly searching in the middle of a conversation.
  10. Advertisement
Part 2
Part 2 of 2:

Searching With Modifiers

PDF download Download Article
  1. modifier. You can use modifier tags when searching to narrow your results to specific categories.
    • “from:username” - Returns messages and files from a specific team member when followed by a username.
    • Some modifiers will be suggested by slack when performing a basic search to help narrow results.
  2. or “after:” modifiers. Use these if you only want to search messages from a certain time or date range. They can be combined to further narrow results.
    • “after:12:00 PM” - Returns all messages and files sent after 12:00 PM on any day.
    • “before: 8/1/2016” - Returns all messages and files sent before that specific date.
  3. modifier. If you only want to see messages from a certain channel or team in your results, you can use “in:”.
    • “in:general” - Returns only messages and files posted in the #general channel
    • “in:teamname” - Returns only message and files posted to in any of the that team’s channels.
  4. modifier. If you'd like to see messages that contain certain rich text or are favorited, you can filter your searches to include such messages alone.
    • "has:link" - Returns search results that contain URLs.
    • "has:star" - Returns search results that have been marked with a star.
    • "has::smile:" - Returns search results with smileys.
  5. For example, searching “red blue” will only return results if those words appear in that order in a message (as opposed to any message containing ‘red’ or ‘blue’).
  6. For example, searching “te*” would return both “teal” and “test” in its results.
  7. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      • The following words are ignored by Slack search and can be omitted from any query: a, an, and, are, as, at, be, but, by, for, if, in, into, is, it, no, not, of, on, or, s, such, t, that, the, their, then, there, these, they, this, to, was, will, with. [3]
      • You can search the body of text files that have been uploaded or shared to your slack. They will not appear highlighted unless there is a match in the file title, but the file will display in the results regardless.
      • You can also use keyboard shortcuts on desktop: Ctrl+F (Windows) or Cmd+F (Mac).
      Show More Tips
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 56,364 times.

      Is this article up to date?

      Advertisement