Storing Network Packets in Tabular Form

For network packets coming over TCP/IP protocol, have you ever confronted a situation where you need to store those network packets in tabular form similar to how tabular tables in databases? For example, keep the dst IP, dst src, TCP/UDP, payload, etc.?

If you ever find yourself in a situation where you need to store network packets over TCP/IP in tabular form, can you please explain the motivation for that from you own experience?