Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
M

mani0525

@mani0525
About
Posts
2
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How can we create a query in AWS CloudWatch Logs Insights that lists all the words from logs in order of frequency?
    M mani0525

    I am dealing with cloudwatch logs, and I have a situation where I need to list all the words from the logs in order of their frequency. I have tried the following queries, but they haven't worked. If you could help, that would be greatly appreciated.

    Query1:
    fields @message
    | parse @message /(?\<word\>\[^\\s\]+)/
    | stats count() by word
    | sort count() desc
    
    Query2:
    fields @message
    | split " "
    | stats count(*) by \*
    | sort count\_* desc
    

    list of all the terms from the cloud watch logs listed in frequency order

    Discuss
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search