logtrail icon indicating copy to clipboard operation
logtrail copied to clipboard

"all program" would be more useful than "all system"?

Open jacinchan opened this issue 5 years ago • 2 comments

hi, i wonder if there is a config to change the filter for "all system", so this button can filter by "program" instead of "host". i think this is more useful, if you have many hosts and few programs.

jacinchan avatar Oct 11 '19 02:10 jacinchan

I just swapped the two. My mapping looks like:

"mapping": {
    "timestamp": "@timestamp",
    "display_timestamp": "@timestamp",
    "hostname": "kubernetes.container_name",
    "program": "kubernetes.host",
    "message": "log"
}

devon-whil avatar Jun 05 '20 13:06 devon-whil

You could map any field to hostname. I mapped hostname because I started developing logtrail with syslog so listing hostname made sense.

sivasamyk avatar Jun 07 '20 09:06 sivasamyk