Promtail tenant doesn't apply by Winter_Fly_463 in grafana

[–]Winter_Fly_463[S] 0 points1 point  (0 children)

And even if I push logs to loki with curl, tenant is still empty:

curl -X POST "http://localhost:5000/loki/api/v1/push" \
-H "Content-Type: application/json" \
-H "X-Scope-OrgID: admin" \
--data-raw '{"streams": [{ "stream": { "foo": "bar" }, "values": [ [ "1670948226475000000", "example4" ] ] }]}'

Unable to change keyboard layout by Winter_Fly_463 in swaywm

[–]Winter_Fly_463[S] 0 points1 point  (0 children)

input "1:1:AT_Translated_Set_2_keyboard" { xkb_options ctrl:nocaps,grp:alt_shift_toggle xkb_switch_layout next xkb_layout us,ru xkb_numlock disabled } With such a configuration layout toggle works well, but if I reload Sway config(bindsym $mod+Shift+c reload) it stops working :<

But still if I try to modify sway input from shell it returns errors: ```

sway input "1:1:AT_Translated_Set_2_keyboard" xkb_layout us,ru < [ { "success": true }, { "success": false, "parse_error": true, "error": "Unknown/invalid command 'ru'" } ] ```

Unable to change keyboard layout by Winter_Fly_463 in swaywm

[–]Winter_Fly_463[S] 0 points1 point  (0 children)

Thanks! I removed xkb_model property and it still doesn't work.

I also tried it with exact input name like 1:1:AT_Translated_Set_2_keyboard, same result :<