kdb+ and q
Q+A on all things kdb+ database and the q language
cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Web interface, JSON

Hi - does anyone have a customization to the .z.ph handler that would allow the caller to receive JSON data, the same way that adding q.csv to the URL would result in a CSV file being returned from the server? TIA

grigora by New Contributor II
  • 354 Views
  • 6 replies
  • 0 kudos

using .z.w to call python

We have a "legacy" python system where some quant researchers using qpython to query data from q processes into python. At one q process, I have something like .z.po:{if[not any (`$.z.w"system \"echo $USER\"") in exec distinct user from .perm.users;h...

aele by New Contributor
  • 872 Views
  • 1 replies
  • 0 kudos

Resolved! Creating heartbeat monitor for server-client

What would be the way of going about creating a heartbeat table server side to monitor response times to each of the servers clients. I have been exploring this but am unsure on how to send a message from server to client and only know how to do clie...

ngumbo by New Contributor II
  • 1496 Views
  • 3 replies
  • 0 kudos

Resolved! Creating access Log IPC

How can one track attempted logins to a specific server. I know to use .z.pc/po to track open and closed connections, does .z.pw need to be used to track failed login attempts .i.e wrong user name/ password ?

ngumbo by New Contributor II
  • 1195 Views
  • 2 replies
  • 0 kudos

Resolved! IPC

Hey Team, I'm currently working through IPC and am working on creating a query log table to store all queries done on a process. I am attempting to modify .z.pi so that for each query ran in q it updates a query table. This is my current query: .z.pi...

ngumbo by New Contributor II
  • 1223 Views
  • 2 replies
  • 0 kudos