Download ArticleDownload 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

Download Article
  1. How.com.vn English: Step 1 Open Slack.
    If you do not already have it, you can get the app for multiple desktop and mobile platforms at https://slack.com/downloads.
  2. How.com.vn English: Step 2 Sign in to your account.
    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. How.com.vn English: Step 3 Press the “Search” field.
    This is indicated by the magnifying glass icon and is located in the upper right corner of both the mobile and desktop apps.
  4. How.com.vn English: Step 4 Enter a search term.
    As you type result and refinement suggestions will appear below the search.
  5. How.com.vn English: Step 5 Select a search.
    This will jump to its location in the chat.
  6. How.com.vn English: Step 6 Press “Files”.
    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. How.com.vn English: Step 7 Press “Recent”.
    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. How.com.vn English: Step 8 Exclude channels from your search results.
    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. How.com.vn English: Step 9 Enter “/s” into the chat field to search.
    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

Download Article
  1. How.com.vn English: Step 1 Search by username with the “from:”
    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. How.com.vn English: Step 2 Search by date or time with the “before:”
    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. How.com.vn English: Step 3 Search channels/teams with the “in:”
    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. Step 4 Search by attachment with the "has:"
    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. How.com.vn English: Step 5 Use quotations to search exact phrases.
    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. How.com.vn English: Step 6 Use an asterisk for partial word searches.
    For example, searching “te*” would return both “teal” and “test” in its results.
  7. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      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
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn English: How.com.vn Staff
      Co-authored by:
      How.com.vn Staff Writer
      This article was co-authored by How.com.vn Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. How.com.vn's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 54,315 times.
      How helpful is this?
      Co-authors: 5
      Updated: May 27, 2023
      Views: 54,315
      Categories: Slack
      Thanks to all authors for creating a page that has been read 54,315 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement