Regex expressions/appending to output txt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Regex expressions/appending to output txt

L0 Member

Hi,

 

I'm fairly new to Minemeld so trying to figure out a few things I seem to be stuck on. We currently pull Office365 URLs into Panorama as an EDL and I am trying to append a \ to the end of every URL in the EDL within Minemeld. I went over the documentation and tried it but it isn't working for me. Not sure if I am missing something here but based on this guide: https://live.paloaltonetworks.com/t5/MineMeld-Articles/Using-MineMeld-to-Create-a-Custom-Miner/ta-p/...

 

I went ahead and created a new prototype based off the o365-api_worldwide-any and added my regex expression to basically append a / to the end of every URL.

 

age_out:
default: null
interval: 1800
sudden_death: true
attributes:
confidence: 100
share_level: green
indicator:
regex: '[\S+]'
transform: $&\/
instance: Worldwide
service_areas: null

 

 

I applied this to a new node (miner), then created a new processor that uses the stdlib.aggregatorURL prototype with the new miner I created as the input for the processor. Finally an Output with prototype minemeldlocal.stdlib-Green.

 

Doesn't seem to work, I did try testing out a few things and added the same express to the process and output but no luck. Not sure what might be missing.

 

Any help is appreciated.

 

Thank you

 

Moe

 

 

 

 

0 REPLIES 0
  • 2626 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!