netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* conntrack-tools conntrack cli json output option?
@ 2024-12-11 16:47 eldon-nfv
  2024-12-11 18:27 ` Kerin Millar
  0 siblings, 1 reply; 2+ messages in thread
From: eldon-nfv @ 2024-12-11 16:47 UTC (permalink / raw)
  To: netfilter

Hi all,
I see some other netfilter tools support json as an output format,
apparently this is done elsewhere with libjansson. Would it be
obvious or a welcome patch to add support to this similar to the
xml output of conntrack -L? Is anyone using an existing tool for this?

I searched this list archives, sorry if I missed previous discussion.

Thanks,
Eldon


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: conntrack-tools conntrack cli json output option?
  2024-12-11 16:47 conntrack-tools conntrack cli json output option? eldon-nfv
@ 2024-12-11 18:27 ` Kerin Millar
  0 siblings, 0 replies; 2+ messages in thread
From: Kerin Millar @ 2024-12-11 18:27 UTC (permalink / raw)
  To: eldon-nfv, netfilter

On Wed, 11 Dec 2024, at 4:47 PM, eldon-nfv@eldondev.com wrote:
> Hi all,
> I see some other netfilter tools support json as an output format,
> apparently this is done elsewhere with libjansson. Would it be
> obvious or a welcome patch to add support to this similar to the
> xml output of conntrack -L? Is anyone using an existing tool for this?

These days, I think that most would welcome the ability to obtain well-structured JSON output from their tooling. I would suggest looking into libxo, also.

https://juniper.github.io/libxo/libxo-manual.html

-- 
Kerin Millar

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-12-11 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11 16:47 conntrack-tools conntrack cli json output option? eldon-nfv
2024-12-11 18:27 ` Kerin Millar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).