Skip to content

Commit

Permalink
Forsøk på å fikse kibana link fra logstash til Applikasjonslogger
Browse files Browse the repository at this point in the history
Co-authored-by: [email protected]
  • Loading branch information
Anders Refsahl committed Nov 8, 2024
1 parent 85696d0 commit 51172ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/kibana.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export function kibanaLink(behandling: BehandlingDto) {

const refreshInterval = `(refreshInterval:(pause:!t,value:0),time:(from:'${startTime}',to:'${endTime}'))`
const query = `(language:kuery,query:'application:%22${application}%22%20AND%20x_behandlingId:%22${behandling.behandlingId}%22')`
return `https://logs.adeo.no/app/kibana#/discover?_g=${refreshInterval}&_a=(columns:!(level,message),grid:(columns:(level:(width:63))),index:'Applikasjonslogger',interval:auto,query:${query},sort:!(!('@timestamp',desc)))`
return `https://logs.adeo.no/app/kibana#/discover?_g=${refreshInterval}&_a=(columns:!(level,message),grid:(columns:(level:(width:63))),index:'96e648c0-980a-11e9-830a-e17bbd64b4db',interval:auto,query:${query},sort:!(!('@timestamp',desc)))`
}

0 comments on commit 51172ce

Please sign in to comment.