* BHP, Rio Tinto (LON:RIO) lose ground after rally
* Oil Search jumps on likely boost to resources in Alaska project
* Healthcare index ends at record high
* NZX marks all-time best close (Updates to close)
Dec 18 (Reuters) - Australian shares closed little changed on Wednesday as gains in healthcare and energy stocks offset weakness in financials and miners.
The S&P/ASX 200 index .AXJO rose by 4.1 points to 6,851.4. The benchmark closed 0.04% lower on Tuesday.
Shares of blue-chip Oil Search Ltd OSH.AX jumped 3.3% to a near four-month peak after the company said an assessment showed there were higher chances of drilling more oil from its Pikka project in Alaska than was initially expected. move pushed the wider energy index .AXEJ 0.8% higher, even as oil prices lost ground. O/R
Healthcare stocks .AXEJ advanced 0.9% to a record close, with CSL Ltd CSL.AX and Cochlear Ltd COH.AX rising 0.8% and 1.9%, respectively.
Gold miner Northern Star Resources NST.AX finished 3.3% higher after it entered a deal on Tuesday to buy half of a joint venture that owns Super Pit, the biggest open pit gold mine in Australia. optimism from overnight strength on Wall Street also trickled through after the major U.S. stock indices held near record highs as strong housing and manufacturing data bolstered expectations of an improvement in global growth. .N
"U.S. data is showing signs of more stability in the global growth story, so there is a little bit more optimism around that," James Tao, market analyst at CommSec said.
"The downside today is the performance of the financials. The banks, the 'big four' in particular, have begun falling from the broader market," Tao added.
Two of the country's biggest lenders, Westpac Banking Corp WBC.AX and National Australia Bank Ltd (NAB) NAB.AX , lost 0.6% and 0.7%, respectively.
In the latest development to a series of regulatory scandals afflicting the banking industry, Westpac was hit with a class action related to disclosure issues even as it stands accused of 23 million breaches of anti-money laundering laws. No.3 lender NAB said it did not have cash set aside to settle a lawsuit accusing it of charging customers fees for no service. behemoths BHP Group BHP.AX and Rio Tinto RIO.AX slipped 0.4% and 1%, respectively, after gaining for six out of the last seven sessions. Iron ore and copper prices were lower on Wednesday. IRONORE/ MET/L
New Zealand's benchmark S&P/NZX 50 index .NZ50 advanced 0.6%, or 68.72 points, to a record close of 11,329.56.
Heartland Group Holdings Ltd HGH.NZ was the biggest gainer and advanced 3.5% to its highest close in more than one year.