Getting Data In

Cisco eNcore eStreamer fields value changed (5.4 -> 6.1)

golsida
Explorer

HI, splunker.

I'm testing two different versions of the estreamer app. (FMC : 5.4, 6.1 / Splunk App : 1629, 3662)
I found two problems with the encore version. (3662) and rec_type=400.

1) src_ip_country is okay (string), but dest_ip_country is number.
2) In the FMC 5.4 and Splunk App 1629, the fw_rule value is displayed as a letter,
but in the FMC 6.1 and Splunk App 3662 version it is displayed as a number.

I wonder if this is a bug or is it intended.
If it is a bug, would you tell me which python source to modify?

0 Karma

aakwah
Builder

You need to check field extraction for the affected sourcetype in props.conf and transforms.conf in the app, or you can send sample from affected log line and the application url on splunkbase to check.

0 Karma

golsida
Explorer

@aakwah

I think props.conf and transforms.conf does not matter.
Because, python source code did not define some field.

For example, $SPLUNK_HOME/etc/apps/TA-eStreamer/bin/encore/estreamer/adapters/splunk.py file does not define DESTINATION_IP_COUNTRY, destinationCountry
and $SPLUNK_HOME/etc/apps/TA-eStreamer/bin/encore/estreamer/metadata/view.py file does not define DESTINATION_IP_COUNTRY.

0 Karma

aakwah
Builder

I didn't check the app yet, but for checkpoint app for example the scripted input role is to retrieve the data from the source then field extraction is the responsibility of searchheads via transforms and props.conf.

Once you have the data into the index you can extract the fields the way you like.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...