QuestionQ198Verified/Search Language FundamentalsCopy linkReport a problemAsk AstroTutorSave questionWhen is the pipe character (|) used in search strings?ABefore clauses. For example: stats sum(bytes) | by hostBBefore commands. For example: | stats sum(bytes) by hostCBefore arguments. For example: stats sum| (bytes) by hostDBefore functions. For example: stats |sum(bytes) by hostShow AnswerAnswerExplanationIn Splunk Search Processing Language, the pipe character separates commands in a search pipeline and sends the results on its left to the command on its right. A statistical command is therefore introduced with a pipe, as in | stats sum(bytes) by host.Learn moreAnatomy of a searchUse the search languageShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion