Page 1 of 1

[Fixed in 2.6.0] Issue with 2.5.1 and Config search

Posted: Fri Oct 18, 2024 9:44 pm
by aykay
1. When I'm doing a config search and I export results to YAML, it doesn't seem to matter if I've ticked off Show all lines, or set the Export search results : Context lines, I get truncated results that don't include the actual results.

e.g.

devices:
- device:
address: DEVICENAMEGOESHERE
description:
zone: Default
backups:
- backup:
date: Fri, 18 Oct 2024, 01:44 PM
search-result:
total-lines: 8
lines:
- line:
number: 1
match: false
line-parts:
- line-part:
text: #
match: false
- line:
number: 2
match: true
line-parts:
- line-part:
text: #
match: false
- line-part:
text: show ip int brief | ex unassigned|10.|172.16.|192.168.
match: true
- line-part:
text:
match: false
- line:
number: 3
match: false
line-parts:
- line-part:
text: #
match: false
- line:
number: 4
match: false
line-parts:
- line-part:
text:
match: false
- line:
number:
match: false
line-parts:
- line-part:
text: ...(4 lines hidden) <-- WHERE I WOULD EXPECT TO SEE RESULTS
match: false

2. When I'm doing a config search and I export results to HTML, it only shows what's on the screen, Unimus ignores the context lines I've specified for download - this means I need to click 'Show all lines' or specify context lines on a device by device basis if I hope to get results.

3. When I've done a config search and export, I can do it once, and then when I try again and try to download, it doesn't do anything unless I change pages and come back - it would be nice to be able to retry.

Re: Issue with 2.5.1 and Config search

Posted: Mon Oct 21, 2024 5:02 pm
by aykay
Actually this is worse than I thought, exporting configs under any conditions I don't see the extended config, whether I'm showing all, showing 100 context lines either via webpage or yaml.

Re: Issue with 2.5.1 and Config search

Posted: Thu Oct 24, 2024 6:49 am
by erik.k
Thank you for reporting this problem. We have already reproduced the behavior you reported, and we plan to start working on the fixes in the near future. Currently, the preliminary delivery time is expected with version 2.6.0, which means sometime at the beginning of December.

I will keep you updated in case of any additional news.

Re: [Fixed in 2.6.0] Issue with 2.5.1 and Config search

Posted: Wed Dec 18, 2024 9:16 pm
by Tomas
Hi, just a small update that 2.6.0 is out, and both context and consecutive download for Config Search should be fixed.
More info: viewtopic.php?f=3&t=1950