All Apps and Add-ons

Can I include the name of the PCAP as metadata when ingesting PCAPs using Stream?

chris_barrett
Communicator

I'm working with a client to ingest data from PCAPs into an on-prem Splunk.    I've installed the independent Stream Forwarder (v7.2.0) on the host with the PCAPs and I'm able to ingest the PCAPs.  One issue that the client has raised is that they would like for the generated events to include as metadata the name (including path) of the PCAP file from which the event came.

I'm using the -r option to specify the name of the PCAP and I've tried including the following on the command line but StreamFwd wouldn't accept it:

--_meta "source_pcap::/path/to/and/name/of/the.pcap"

 

Any thoughts on how this could be done?  I'm open to raising it as an "idea" if need be.

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...